Skip to content

Commit

Permalink
update eslint-plugin-perfectionist and rename typescriptRules -> type…
Browse files Browse the repository at this point in the history
…script
  • Loading branch information
ablackoff committed Nov 26, 2024
1 parent d16ab66 commit 96d2aec
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 32 deletions.
2 changes: 1 addition & 1 deletion lib/flat.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const rules = {
promise: promiseRules,
unicorn: unicornRules,
perfectionist: perfectionistRules,
typescriptRules: typescriptRules,
typescript: typescriptRules,
}

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/perfectionist.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
"type": "alphabetical",
"order": "asc",
"ignoreCase": true,
"internalPattern": ["./**"],
"internalPattern": ["./*"],
"newlinesBetween": "always",
"groups": [
["builtin"],
Expand Down
161 changes: 133 additions & 28 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-n": "^17.13.1",
"eslint-plugin-perfectionist": "^3.9.1",
"eslint-plugin-perfectionist": "^4.1.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.37.2",
Expand Down Expand Up @@ -97,7 +97,7 @@
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-perfectionist": "^3.9.1",
"eslint-plugin-perfectionist": "^4.1.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.37.2",
Expand Down

0 comments on commit 96d2aec

Please sign in to comment.