Skip to content

Commit

Permalink
fix unicorn library to work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianzchen committed Mar 18, 2024
1 parent 4e1cc48 commit 2a4e570
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
'ft-flow',
'react-hooks',
'testing-library',
'unicorn',
],
settings: {
'ft-flow': {
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]:Brianzchen/eslint-config-bzc.git",
"author": "Brian Chen",
Expand Down

0 comments on commit 2a4e570

Please sign in to comment.