-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
38 lines (38 loc) · 1.05 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 = {
extends: [
'alloy',
'alloy/typescript'
],
env: {
browser: true,
node: true,
jest: true
},
globals: {
__VERSION__: 'readonly'
},
rules: {
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/member-ordering': 'off',
'@typescript-eslint/consistent-type-assertions': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/prefer-for-of': 'off',
'no-useless-constructor': 'off',
'no-param-reassign': 'off',
'quotes': ['error', 'single'],
'prefer-template': 'error',
'eqeqeq': 'off',
'no-eq-null': 'off',
'semi': 'error',
'max-params': 'off',
'no-return-assign': 'off',
'max-nested-callbacks': 'off',
'no-undef': 'off',
'one-var': 'off'
}
};