Skip to content

Commit 478ec12

Browse files
committed
fix: own config changed
1 parent d4abceb commit 478ec12

File tree

8 files changed

+21
-24
lines changed

8 files changed

+21
-24
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable import-x/extensions */
12
import prettierConfig from 'eslint-plugin-prettier/recommended';
23

34
import customGeneralESLintConfig from './lint/general.eslint.mjs';

lint/general.eslint.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ const customGeneralESLintConfig = [
1212
allow: ['_id'],
1313
},
1414
],
15-
'sort-imports': [
16-
'error',
17-
{
18-
ignoreDeclarationSort: true,
19-
},
20-
],
2115
'no-restricted-syntax': [
2216
'error',
2317
'ForStatement',

lint/import.eslint.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ import unusedImportsPlugin from 'eslint-plugin-unused-imports';
44
const customImportESLintConfig = [
55
// STRICT IMPORT CONFIG
66
rules.base.importsStrict,
7+
// IMPORT CONFIG RULES
78
{
89
name: 'x/import-x/disable-default-export',
910
files: ['**/features/**/**.api.ts', '**/use*.ts'],
1011
rules: {
1112
'import-x/prefer-default-export': 'off',
1213
},
1314
},
15+
// UNUSED IMPORTS CONFIG
1416
{
1517
name: 'unused-imports/config',
1618
plugins: {

lint/javascript.eslint.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const customJSESLintConfig = [
99
name: 'js/config',
1010
...js.configs.recommended,
1111
},
12-
// Stylistic PLUGIN
12+
// STYLISTIC PLUGIN
1313
plugins.stylistic,
1414
// IMPORT X PLUGIN
1515
plugins.importX,

lint/react.eslint.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import tanstackQueryPlugin from '@tanstack/eslint-plugin-query';
22
import { configs, plugins, rules } from 'eslint-config-airbnb-extended';
33

44
const customReactESLintConfig = [
5-
// React Plugin
5+
// REACT PLUGIN
66
plugins.react,
7-
// React Hooks Plugin
7+
// REACT HOOKS PLUGIN
88
plugins.reactHooks,
9-
// React JSX-A11y Plugin
9+
// REACT JSX-A11Y PLUGIN
1010
plugins.reactA11y,
11-
// Next Plugin
11+
// NEXT PLUGIN
1212
plugins.next,
1313
// AIRBNB NEXT CONFIG
1414
...configs.next.recommended,

lint/typescript.eslint.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { configs, plugins, rules } from 'eslint-config-airbnb-extended';
22

33
const customTSESLintConfig = [
4-
// Typescript ESLint Plugin
4+
// TYPESCRIPT ESLINT PLUGIN
55
plugins.typescriptEslint,
66
// AIRBNB BASE TYPESCRIPT CONFIG
77
...configs.base.typescript,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"next-nprogress-bar": "^2.4.7",
3030
"react": "^19.1.0",
3131
"react-dom": "^19.1.0",
32-
"react-hook-form": "^7.56.0",
32+
"react-hook-form": "^7.56.1",
3333
"react-toastify": "^11.0.5",
3434
"zustand": "^5.0.3"
3535
},
@@ -44,7 +44,7 @@
4444
"@types/react": "^19.1.2",
4545
"@types/react-dom": "^19.1.2",
4646
"eslint": "^9.25.1",
47-
"eslint-config-airbnb-extended": "^0.11.3",
47+
"eslint-config-airbnb-extended": "^1.0.0",
4848
"eslint-config-next": "^15.3.1",
4949
"eslint-config-prettier": "^10.1.2",
5050
"eslint-import-resolver-typescript": "^4.3.4",

pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)