Skip to content

Commit

Permalink
fix perfectionist setup
Browse files Browse the repository at this point in the history
  • Loading branch information
TimurRin committed Sep 16, 2024
1 parent 28f21ee commit af57964
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import globals from "globals";
export default [
js.configs.recommended,
jsdoc.configs["flat/recommended"],
perfectionist.configs['recommended-natural'],
nodePlugin.configs["flat/recommended-module"],
pluginSecurity.configs.recommended,
sonarjs.configs.recommended,
Expand All @@ -24,7 +25,6 @@ export default [
},
plugins: {
jsdoc,
perfectionist,
},
rules: {
"no-var": "error",
Expand Down
2 changes: 1 addition & 1 deletion configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default [
...tseslint.configs.strict,
...tseslint.configs.stylistic,
jsdoc.configs["flat/recommended"],
perfectionist.configs['recommended-natural'],
nodePlugin.configs["flat/recommended-module"],
pluginSecurity.configs.recommended,
sonarjs.configs.recommended,
Expand All @@ -32,7 +33,6 @@ export default [
plugins: {
"@typescript-eslint": tseslint.plugin,
jsdoc,
perfectionist,
},
rules: {
"no-var": "error",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import typescriptConfig from "./configs/typescript.js";
import javascriptConfig from "./configs/javascript.js";
import typescriptConfig from "./configs/typescript.js";

export default {
default: typescriptConfig,
Expand Down

0 comments on commit af57964

Please sign in to comment.