Skip to content

Commit

Permalink
forgot to disable the default generator-star-spacing rule in favor …
Browse files Browse the repository at this point in the history
…of the Babel one

Especially important because of babel/babel-eslint#316
  • Loading branch information
sindresorhus committed Jun 15, 2016
1 parent 3621ac5 commit c79c49c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ module.exports = {
parser: 'babel-eslint',
plugins: ['babel'],
rules: {
'generator-star-spacing': 0,
'new-cap': 0,
'array-bracket-spacing': 0,
'object-curly-spacing': 0,
'arrow-parens': 0,
'babel/generator-star-spacing': [2, 'both'],
'babel/new-cap': [2, {newIsCap: true, capIsNew: true}],
'babel/array-bracket-spacing': [2, 'never'],
'babel/object-curly-spacing': [2, 'never'],
Expand Down

0 comments on commit c79c49c

Please sign in to comment.