Skip to content

Commit

Permalink
rules: add es6 rules
Browse files Browse the repository at this point in the history
  • Loading branch information
blond committed Apr 8, 2016
1 parent 7ae8406 commit 9baed36
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/* ===================================================================================== */
Expand Down

0 comments on commit 9baed36

Please sign in to comment.