Skip to content

Commit

Permalink
Update deps and rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparticuz committed Dec 18, 2024
1 parent 34027c1 commit ef0aa07
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 84 deletions.
156 changes: 78 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@
"license": "ISC",
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint/js": "^9.16.0",
"@vitest/eslint-plugin": "^1.1.16",
"@eslint/js": "^9.17.0",
"@vitest/eslint-plugin": "^1.1.18",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-array-func": "^5.0.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-n": "^17.15.0",
"eslint-plugin-no-unsanitized": "^4.1.2",
"eslint-plugin-perfectionist": "^4.2.0",
"eslint-plugin-perfectionist": "^4.3.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^3.0.1",
"eslint-plugin-unicorn": "^56.0.1",
"globals": "^15.13.0",
"typescript-eslint": "^8.18.0"
"globals": "^15.14.0",
"typescript-eslint": "^8.18.1"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.0",
"@tsconfig/strictest": "^2.0.5",
"@types/eslint__js": "^8.42.3",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint-plugin-security": "^3.0.0",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
}
Expand Down
8 changes: 8 additions & 0 deletions src/configs/sonarjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ export default tseslint.config(
* This rule is dumb
*/
"sonarjs/no-duplicate-string": "off",
/**
* Disable in favor of @typescript-eslint/no-unused-vars
*/
"sonarjs/no-unused-vars": "off",
/**
* TODO's should just be warnings, not errors

Check warning on line 21 in src/configs/sonarjs.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

Complete the task associated to this "TODO" comment
*/
"sonarjs/todo-tag": "warn",
},
},
);

0 comments on commit ef0aa07

Please sign in to comment.