Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
ignorePatterns: [
'node_modules/*',
'**/node_modules/',
'.prettierrc.js',
'.eslintrc.js',
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
},
plugins: ['import', '@typescript-eslint', 'jest', 'prettier'],
extends: [
'eslint:recommended',
'prettier',
'plugin:prettier/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],
rules: {
'import/named': 'off',
'no-use-before-define': [
'error',
{ functions: false, classes: true, variables: true },
],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: true,
optionalDependencies: false,
peerDependencies: false,
},
],
'import/no-unresolved': ['warn', { ignore: ['/opt/*'] }],
'import/prefer-default-export': 'off',
'lines-between-class-members': [
'error',
'always',
{ exceptAfterSingleLine: true },
],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['off'],
'@typescript-eslint/restrict-template-expressions': 'off',
'no-new': 'off',
'no-console': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
'jest/no-disabled-tests': 'warn',
'jest/no-focused-tests': 'error',
'jest/no-identical-title': 'error',
'jest/prefer-to-have-length': 'warn',
'jest/valid-expect': 'error',
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
},
],
'no-restricted-syntax': [
'error',
'ForInStatement',
'LabeledStatement',
'WithStatement',
],
'no-underscore-dangle': 'off',
'no-await-in-loop': 'off',
'@typescript-eslint/no-misused-promises': [
'error',
{ checksVoidReturn: false },
],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/ban-types': 'off',
},
env: {},
globals: {
page: true,
browser: true,
context: true,
jestPuppeteer: true,
document: true,
localStorage: true,
},
settings: {
'import/core-modules': ['aws-sdk'],
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: {},
node: {
paths: ['src'],
moduleDirectory: ['node_modules', 'src/'],
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
},
},
},
};