mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-24 17:41:27 -04:00
Fix es lint
This commit is contained in:
@@ -16,7 +16,7 @@ export default tseslint.config(
|
||||
},
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.json', './tsconfig.test.json'],
|
||||
project: ['./tsconfig.json', './tsconfig.test.json', 'tsconfig.eslint.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
globals: {
|
||||
|
||||
4
backend/api/tsconfig.eslint.json
Normal file
4
backend/api/tsconfig.eslint.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.js"]
|
||||
}
|
||||
@@ -36,6 +36,6 @@
|
||||
}
|
||||
],
|
||||
"compileOnSave": true,
|
||||
"include": ["src/**/*.ts", "package.json", "backend/api/package.json", "jest.config.ts"],
|
||||
"include": ["src/**/*.ts", "package.json", "backend/api/package.json"],
|
||||
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export default tseslint.config(
|
||||
},
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.json', './tsconfig.test.json'],
|
||||
project: ['./tsconfig.json', './tsconfig.test.json', 'tsconfig.eslint.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
globals: {
|
||||
|
||||
4
backend/email/tsconfig.eslint.json
Normal file
4
backend/email/tsconfig.eslint.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.js"]
|
||||
}
|
||||
@@ -30,5 +30,5 @@
|
||||
"require": ["tsconfig-paths/register"]
|
||||
},
|
||||
"references": [{"path": "../../common"}, {"path": "../shared"}],
|
||||
"include": ["emails/**/*.ts", "emails/**/*.tsx", "jest.config.ts"]
|
||||
"include": ["emails/**/*.ts", "emails/**/*.tsx"]
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ export default tseslint.config(
|
||||
},
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.json', './tsconfig.test.json'],
|
||||
project: ['./tsconfig.json', './tsconfig.test.json', 'tsconfig.eslint.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
globals: {
|
||||
|
||||
4
backend/shared/tsconfig.eslint.json
Normal file
4
backend/shared/tsconfig.eslint.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.js"]
|
||||
}
|
||||
@@ -27,6 +27,6 @@
|
||||
"path": "../../common"
|
||||
}
|
||||
],
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "jest.config.ts"],
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
||||
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export default tseslint.config(
|
||||
},
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: './tsconfig.json',
|
||||
project: ['./tsconfig.json', './tsconfig.eslint.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
globals: {
|
||||
|
||||
4
common/tsconfig.eslint.json
Normal file
4
common/tsconfig.eslint.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.js"]
|
||||
}
|
||||
@@ -18,6 +18,6 @@
|
||||
"common/*": ["./src/*", "../lib/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*.ts", "messages/*.json", "jest.config.ts"],
|
||||
"include": ["src/**/*.ts", "messages/*.json"],
|
||||
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
4
web/tsconfig.eslint.json
Normal file
4
web/tsconfig.eslint.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.js"]
|
||||
}
|
||||
@@ -28,6 +28,6 @@
|
||||
"watchOptions": {
|
||||
"excludeDirectories": [".next"]
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../common/src/**/*.ts", "jest.config.ts"],
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../common/src/**/*.ts"],
|
||||
"exclude": ["node_modules", "**/*.test.ts", "**/*.spec.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user