Skip to content

Commit

Permalink
chore: update eslint plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Jul 8, 2024
1 parent c8eff9e commit 0cbc496
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 121 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = defineConfig({
'unicorn/no-zero-fractions': 'off', // deactivated to raise awareness of floating operations
'unicorn/number-literal-case': 'off', // incompatible with prettier
'unicorn/numeric-separators-style': 'off', // "magic numbers" may carry specific meaning
'unicorn/prefer-string-raw': 'off', // The additional prefix doesn't help readability
'unicorn/prefer-ternary': 'off', // ternaries aren't always better

// TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@
"@types/sanitize-html": "2.11.0",
"@types/semver": "7.5.8",
"@types/validator": "13.12.0",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"@vitest/coverage-v8": "2.0.1",
"@vitest/ui": "2.0.1",
"@vueuse/core": "10.11.0",
Expand All @@ -112,10 +112,10 @@
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
"eslint-gitignore": "0.1.0",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-deprecation": "3.0.0",
"eslint-plugin-jsdoc": "48.5.2",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-unicorn": "52.0.0",
"eslint-plugin-unicorn": "54.0.0",
"eslint-plugin-vitest": "0.4.1",
"npm-run-all2": "6.2.2",
"prettier": "3.3.2",
Expand Down
Loading

0 comments on commit 0cbc496

Please sign in to comment.