Skip to content

Commit d7ea4cf

Browse files
committed
netteForms: uses ES6
1 parent ea51d83 commit d7ea4cf

File tree

2 files changed

+89
-81
lines changed

2 files changed

+89
-81
lines changed

.eslintrc.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ module.exports = {
44
'amd': true,
55
'commonjs': true
66
},
7+
'parserOptions': {
8+
'ecmaVersion': 6
9+
},
710
'globals': {
811
'Tracy': true
912
},
@@ -12,6 +15,10 @@ module.exports = {
1215
'indent': ['error', 'tab'],
1316
'quotes': ['error', 'single'],
1417
'semi': ['error', 'always'],
15-
'func-style': ['error', 'expression']
18+
'func-style': ['error', 'expression'],
19+
'prefer-arrow-callback': ['error'],
20+
'arrow-parens': ['error'],
21+
'arrow-spacing': ['error'],
22+
'no-var': ['error']
1623
}
1724
};

0 commit comments

Comments
 (0)