-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
32 lines (32 loc) ยท 899 Bytes
/
Copy path.eslintrc.js
File metadata and controls
32 lines (32 loc) ยท 899 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
27
28
29
30
31
32
module.exports = {
env: {
node: true,
},
extends: ['airbnb-base', 'some-other-config-you-use', 'prettier'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {
'no-console': 'off',
'no-unused-vars': 1,
'import/no-unresolved': 'off',
'import/extensions': ['off'],
'object-curly-newline': 'off',
// eslint-disable-next-line quote-props
'camelcase': ['off'],
'no-underscore-dangle': 'off',
'operator-linebreak': 'off',
'spaced-comment': [2, 'always', { exceptions: ['-', '+'] }],
'no-return-assign': 'off',
'no-use-before-define': 'off',
'no-unused-expressions': 'off',
'no-param-reassign': 'off',
'implicit-arrow-linebreak': 'off',
'no-void': 'off',
// eslint-disable-next-line quote-props
'indent': 'off',
},
};