-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
26 lines (25 loc) · 868 Bytes
/
.eslintrc.js
File metadata and controls
26 lines (25 loc) · 868 Bytes
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
const { join } = require('path');
module.exports = {
root: true,
extends: '@arcblock/eslint-config-ts',
ignorePatterns: ['screenshot-generator/'],
parserOptions: {
project: [join(__dirname, 'tsconfig.eslint.json'), join(__dirname, 'tsconfig.json')],
},
rules: {
'@typescript-eslint/indent': 'off',
'@typescript-eslint/no-shadow': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'no-await-in-loop': 'off',
'no-nested-ternary': 'off',
'max-classes-per-file': 'off',
'react/require-default-props': 'off',
'@typescript-eslint/comma-dangle': 'off',
'require-await': 'off',
'import/prefer-default-export': 'off',
'no-return-assign': 'off',
'no-continue': 'off',
'@typescript-eslint/naming-convention': 'off',
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
},
};