Skip to content

Commit

Permalink
fix(deps): update dependency eslint-plugin-perfectionist to v4 (#642)
Browse files Browse the repository at this point in the history
Co-authored-by: bfra-me[bot] <118100583+bfra-me[bot]@users.noreply.github.com>
  • Loading branch information
bfra-me[bot] authored Nov 25, 2024
1 parent 3a1b8a1 commit 1a44da3
Show file tree
Hide file tree
Showing 7 changed files with 322 additions and 257 deletions.
5 changes: 5 additions & 0 deletions .changeset/renovate-d92f109.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bfra.me/eslint-config': patch
---

Updated dependency `eslint-plugin-perfectionist` to `4.0.3`.
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint-plugin-command": "0.2.6",
"eslint-plugin-import-x": "4.4.3",
"eslint-plugin-jsdoc": "50.5.0",
"eslint-plugin-perfectionist": "3.9.1",
"eslint-plugin-perfectionist": "4.0.3",
"eslint-plugin-unused-imports": "4.1.4",
"globals": "15.12.0",
"is-in-ci": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/src/configs/imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export async function imports(): Promise<Config[]> {
'import-x': pluginImportX as any,
},
rules: {
'import-x/no-named-default': 'error',
'import-x/first': 'error',
'import-x/no-duplicates': 'error',
'import-x/no-mutable-exports': 'error',
'import-x/no-named-default': 'error',
'import-x/no-self-import': 'error',
'import-x/no-useless-path-segments': 'error',
'import-x/no-webpack-loader-syntax': 'error',
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config/src/configs/jsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ export async function jsdoc(): Promise<Config[]> {
name: '@bfra.me/jsdoc',
plugins: {jsdoc: _jsdoc},
rules: {
'jsdoc/check-access': 'warn',
'jsdoc/check-param-names': 'warn',
'jsdoc/check-property-names': 'warn',
'jsdoc/require-param-name': 'warn',
'jsdoc/require-property-name': 'warn',
'jsdoc/check-access': 'warn',
'jsdoc/check-types': 'warn',
'jsdoc/empty-tags': 'warn',
'jsdoc/implements-on-classes': 'warn',
'jsdoc/no-defaults': 'warn',
'jsdoc/no-multi-asterisks': 'warn',
'jsdoc/require-param-name': 'warn',
'jsdoc/require-property': 'warn',
'jsdoc/require-property-description': 'warn',
'jsdoc/require-property-name': 'warn',
'jsdoc/require-returns-check': 'warn',
'jsdoc/require-returns-description': 'warn',
'jsdoc/require-yields-check': 'warn',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export async function typescript(options: TypeScriptOptions = {}): Promise<Confi
rules: {
...tselint.configs.eslintRecommended.rules,

'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/ban-ts-comment': [
'error',
Expand Down Expand Up @@ -132,7 +133,6 @@ export async function typescript(options: TypeScriptOptions = {}): Promise<Confi
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-inferrable-types': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-assertion': 'warn',
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-unused-vars': 'error',
Expand Down
Loading

0 comments on commit 1a44da3

Please sign in to comment.