Skip to content

Commit

Permalink
moved a rule to exclusively ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mephisto5558 committed Oct 15, 2024
1 parent 7929627 commit 120cbf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion configs/@typescript-eslint.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
// [TYPESCRIPT-ESLINT] https://typescript-eslint.io/rules | Using "warn" wherever applicable
"adjacent-overload-signatures": "warn",
"array-type": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion configs/sonarjs.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
"no-one-iteration-loop": "error",
"no-os-command-from-path": "warn",
"no-parameter-reassignment": "error",
"no-primitive-wrappers": "off", // Handled by `no-new-wrappers`
"no-primitive-wrappers": "off", // Handled by `no-new-wrappers`, `unicorn/new-for-builtins`
"no-redeclare": "off", // Handled by `@typescript-eslint/no-redeclare`
"no-redundant-assignments": "warn",
"no-redundant-boolean": "warn",
Expand Down
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default [
globals: globals.browser
},
rules: {
...importJsonC('configs/sonarjs-html.jsonc')
...importJsonC('configs/sonarjs-html.jsonc'),
'@stylistic/no-multiple-empty-lines': [
'error',
{
Expand All @@ -113,6 +113,7 @@ export default [
'jsdoc/require-returns-type': 'off',
'jsdoc/check-param-names': 'off',
'jsdoc/no-defaults': 'off', // cannot set them in ts function declarations
'@typescript-eslint/adjacent-overload-signatures': 'warn',
'@typescript-eslint/explicit-member-accessibility': [
'error',
{
Expand Down

0 comments on commit 120cbf3

Please sign in to comment.