forked from sabinayakc/tui.image-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
26 lines (26 loc) · 682 Bytes
/
Copy path.eslintrc.js
File metadata and controls
26 lines (26 loc) · 682 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
module.exports = {
"extends": "tui/es6",
"env": {
"browser": true,
"amd": true,
"node": true,
"jasmine": true,
"jquery": true,
"es6": true
},
"globals": {
"fabric": true,
"tui": true,
"loadFixtures": true
},
"parserOptions": {
"sourceType": "module"
},
'rules': {
indent: [2, 4, {SwitchCase: 1, ignoreComments: false, ImportDeclaration: 1, flatTernaryExpressions: false}],
'prefer-destructuring': ['error', {
VariableDeclarator: {array: true, object: true},
AssignmentExpression: {array: false, object: false}
}]
}
};