diff --git a/index.js b/index.js index 654d041..96837c7 100644 --- a/index.js +++ b/index.js @@ -16,6 +16,7 @@ module.exports = { 'ft-flow', 'react-hooks', 'testing-library', + 'unicorn', ], settings: { 'ft-flow': { @@ -86,6 +87,13 @@ module.exports = { 'no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }], 'no-plusplus': ['error', { allowForLoopAfterthoughts: true }], 'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0, maxBOF: 0 }], + 'no-unused-vars': ['error', { + vars: 'all', + args: 'after-used', + ignoreRestSiblings: true, + varsIgnorePattern: '_', + }], + 'no-useless-computed-key': 0, 'prefer-promise-reject-errors': 0, 'quote-props': ['error', 'as-needed', { keywords: false, unnecessary: true, numbers: true }], 'react/destructuring-assignment': 0, diff --git a/package.json b/package.json index a09c9b9..6272d0b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-bzc", "description": "Eslint Config for my personal and professional projects", - "version": "1.0.13", + "version": "1.0.14", "main": "index.js", "repository": "git@github.com:Brianzchen/eslint-config-bzc.git", "author": "Brian Chen",