Skip to content

Commit

Permalink
chore: Update lint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmilton committed Jun 7, 2024
1 parent e9c6654 commit d54a524
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'; // eslint-disable-line

const OFF = 0;
const WARN = 1;
const ERROR = 2;
Expand Down Expand Up @@ -27,9 +25,11 @@ module.exports = {
'import/prefer-default-export': OFF,
'no-restricted-syntax': OFF,
'unicorn/filename-case': OFF,
'unicorn/import-style': WARN,
'unicorn/no-abusive-eslint-disable': WARN,
'unicorn/no-null': OFF,
'unicorn/prefer-module': WARN,
'unicorn/prefer-string-raw': WARN,
'unicorn/prefer-top-level-await': WARN,
'unicorn/prevent-abbreviations': OFF,

Expand Down
6 changes: 2 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"javascript": {
"formatter": {
"semicolons": "always",
"trailingComma": "all",
"trailingCommas": "all",
"quoteStyle": "single"
}
},
Expand Down Expand Up @@ -55,10 +55,8 @@
"noConsoleLog": "warn",
"noConstEnum": "off",
"noExplicitAny": "off",
"noFocusedTests": "error",
"noMisrefactoredShorthandAssign": "error"
},
"nursery": {
"noFocusedTests": "error"
}
}
},
Expand Down

0 comments on commit d54a524

Please sign in to comment.