Skip to content

Commit

Permalink
Merge pull request #4 from glints-dev/no-unused-vars
Browse files Browse the repository at this point in the history
Turn `no-unused-vars` and `react/prop-types` into errors.
  • Loading branch information
shubham-padia authored Nov 26, 2019
2 parents f5f43f7 + e5f8471 commit fa77e0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
'no-sequences': 'error',
'no-unmodified-loop-condition': 'error',
'no-unused-expressions': 'error',
'no-unused-vars': 1,
'no-unused-vars': 'error',
'no-useless-call': 'error',
'no-useless-escape': 'error',

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glints/eslint-config",
"version": "1.1.0",
"version": "1.1.1",
"description": "ESLint rules for Glints projects.",
"keywords": [
"eslint",
Expand Down
2 changes: 1 addition & 1 deletion react.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
'react/no-unknown-property': 'warn',
'react/prefer-es6-class': 'warn',
'react/prefer-stateless-function': 'warn',
'react/prop-types': 'warn',
'react/prop-types': 'error',
'react/react-in-jsx-scope': 2,
'react/require-render-return': 'error',
'react/self-closing-comp': 'warn',
Expand Down

0 comments on commit fa77e0e

Please sign in to comment.