-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
32 lines (32 loc) · 831 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
module.exports = {
'env': {
'es6': true,
'browser': true
},
'extends': [
'airbnb',
],
'rules': {
'semi': ['warn', 'never'],
'quotes': ['warn', 'single'],
'no-console': 'warn',
'comma-dangle': ['warn', 'always-multiline'],
'arrow-body-style': ['warn', 'as-needed'],
'arrow-parens': ['warn', 'as-needed'],
'indent': ['warn', 2],
'no-unused-vars': 'warn',
'func-names': 'off',
'no-param-reassign': 'off',
'no-use-before-define': 'off',
'space-before-function-paren': 'off',
'linebreak-style': 'off',
'vars-on-top': 'off',
},
'parser': 'babel-eslint',
'settings': {
'react': {
'version': '999.999.999'
}
},
'ignorePatterns': ['src/vendor/', 'build/**/*.js', 'node_modules/', 'build-tasks/postcss.config.js', 'src/js/modernizr.js']
}