Skip to content
Permalink
Browse files

rules: add es6 rules

  • Loading branch information...
blond committed Apr 8, 2016
1 parent 7ae8406 commit 9baed3645e681fa82b7dc731f061718734738d68
Showing with 12 additions and 0 deletions.
  1. +12 −0 index.js
@@ -78,6 +78,18 @@ module.exports = {

'no-new-require': 'error',

/* ECMAScript 6 ======================================================================== */
/* http://eslint.org/docs/rules/#ecmascript-6
/* ===================================================================================== */

'constructor-super': 'error',
'no-this-before-super': 'error',
'no-dupe-class-members': 'error',
'no-class-assign': 'error',
'no-const-assign': 'error',
'no-new-symbol': 'error',
'require-yield': 'error',

/* Best Practices ====================================================================== */
/* http://eslint.org/docs/rules/#best-practices */
/* ===================================================================================== */

0 comments on commit 9baed36

Please sign in to comment.
You can’t perform that action at this time.