-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.eslintrc.js
More file actions
29 lines (26 loc) · 653 Bytes
/
.eslintrc.js
File metadata and controls
29 lines (26 loc) · 653 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
module.exports = {
extends: 'piecioshka',
// https://eslint.org/docs/user-guide/configuring#specifying-environments
env: {
es6: true,
browser: true,
node: true,
commonjs: true,
amd: true
// jquery: true,
// jasmine: true
},
// https://eslint.org/docs/rules/
rules: {
'no-nested-ternary': 'off',
strict: 'off',
'object-curly-newline': 'off',
'no-magic-numbers': ['error', {
ignore: [-1, 0, 1, 3]
}],
'arrow-parens': 'off',
'valid-jsdoc': 'off'
},
// List of global variables.
globals: {}
};