Skip to content

Commit

Permalink
Turn no-unused-vars and react/prop-types into errors.
Browse files Browse the repository at this point in the history
Also bumps the version to v1.1.1
  • Loading branch information
shubham-padia committed Nov 26, 2019
1 parent f5f43f7 commit e5f8471
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 e5f8471

Please sign in to comment.