Skip to content

Commit 9400d9f

Browse files
committed
feat(rules): add eslint v2.0.0-beta.1 rules
1 parent 8e7cde1 commit 9400d9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/common.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ module.exports = {
216216
'no-new-func': ERROR,
217217
'no-new-object': ERROR,
218218
'no-new-require': ERROR,
219+
'no-new-symbol': ERROR,
219220
'no-obj-calls': ERROR,
220221
'no-octal': ERROR,
221222
'no-octal-escape': ERROR,
@@ -258,9 +259,11 @@ module.exports = {
258259
],
259260
'no-useless-call': ERROR,
260261
'no-useless-concat': ERROR,
262+
'no-useless-constructor': ERROR,
261263
'no-void': ERROR,
262264
'no-warning-comments': OFF,
263265
'no-with': ERROR,
266+
'no-whitespace-before-property': WARN,
264267
'object-curly-spacing': [
265268
ERROR,
266269
'always',
@@ -303,6 +306,7 @@ module.exports = {
303306
{ before: false, after: true },
304307
],
305308
'sort-vars': OFF,
309+
'sort-imports': OFF,
306310
'space-after-keywords': OFF,
307311
'space-before-blocks': [
308312
ERROR,

0 commit comments

Comments
 (0)