forked from neos/neos-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (33 loc) · 895 Bytes
/
.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
module.exports = {
root: true,
extends: [
'@neos-project/eslint-config-neos',
'plugin:@typescript-eslint/eslint-recommended'
],
parser: '@typescript-eslint/parser',
globals: {
expect: true,
sinon: false
},
env: {
node: true
},
plugins: [
'@typescript-eslint'
],
rules: {
// Fix for incorrect unused var detection
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
// remove bs
'operator-linebreak': 'off',
'arrow-parens': 'off',
'camelcase': 'off',
// The following rules should be fixed and enabled again #nobody-likes-you-linter!
'no-use-before-define': 'off',
'default-case': 'off',
'no-mixed-operators': 'off',
'no-negated-condition': 'off',
'complexity': 'off'
},
}