Skip to content

Commit

Permalink
Turn on 'no-undef' rule by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhlobo committed Feb 26, 2018
1 parent 7e7f3ef commit e2ecafe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/* eslint-disable global-require */
const allRules = {
'no-undef': require('./lib/rules/no-undef'),
'uses-react': require('./lib/rules/uses-react'),
'uses-vars': require('./lib/rules/uses-vars'),
}
Expand All @@ -18,6 +19,7 @@ module.exports = {
pug: true,
},
rules: {
'react-pug/no-undef': 2,
'react-pug/uses-react': 2,
'react-pug/uses-vars': 2,
},
Expand Down

0 comments on commit e2ecafe

Please sign in to comment.