-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
38 lines (38 loc) · 1.16 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: `${__dirname}/apps/web`,
project: ['./tsconfig.json'],
},
extends: [
'@alergeek-ventures/eslint-config/typescript',
'@alergeek-ventures/eslint-config/react',
'@alergeek-ventures/eslint-config/tests',
'@alergeek-ventures/eslint-config/cspell-eslint',
'plugin:@next/next/recommended',
],
ignorePatterns: ['graphql.ts', '*.graphql', '.next', 'node_modules', '*.js'],
settings: {
next: {
rootDir: ['apps/*/'],
},
react: {
version: 'detect',
},
},
rules: {
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'no-magic-numbers': 'off',
'no-unused-vars': 'off',
'no-shadow': 'off',
'jest-dom/prefer-in-document': 'off',
'jest-dom/prefer-to-have-attribute': 'off',
},
};