forked from Kalaam-Programming-Language/Kalaam
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc.js
33 lines (26 loc) · 865 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
module.exports = {
'extends': 'eslint:recommended',
'parser': 'babel-eslint',
'env': {
'browser': true,
'node': true,
},
'rules': {
// enable additional rules
'indent': ['error', 4,],
'linebreak-style': ['error', 'unix',],
'quotes': ['error', 'single',],
'semi': ['error', 'always',],
// override default options for rules from base configurations
'comma-dangle': ['error', 'always',],
'no-cond-assign': ['error', 'always',],
// disable rules from base configurations
'no-console': 'off',
'no-useless-escape':'off',
'no-irregular-whitespace':'off',
'no-self-assign':'off',
'no-redeclare': 'off',
'no-inner-declarations': 'off',
'no-case-declarations':'off'
},
};