@bratislava/eslint-config-next 0.6.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @bratislava/eslint-config-next might be problematic. Click here for more details.
- package/index.js +2 -6
- package/package.json +2 -3
package/index.js
CHANGED
|
@@ -9,7 +9,6 @@ import { baseConfig } from "@bratislava/eslint-config";
|
|
|
9
9
|
import nextPlugin from "@next/eslint-plugin-next";
|
|
10
10
|
import tanstackQuery from "@tanstack/eslint-plugin-query";
|
|
11
11
|
import i18next from "eslint-plugin-i18next";
|
|
12
|
-
import importPlugin from "eslint-plugin-import";
|
|
13
12
|
import jsxA11y from "eslint-plugin-jsx-a11y";
|
|
14
13
|
import react from "eslint-plugin-react";
|
|
15
14
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
@@ -120,11 +119,8 @@ export function createNextConfig(options = {}) {
|
|
|
120
119
|
// JSX A11y recommended config
|
|
121
120
|
jsxA11y.flatConfigs.recommended,
|
|
122
121
|
|
|
123
|
-
// Import rules
|
|
122
|
+
// Import rules (plugin registered in base config)
|
|
124
123
|
{
|
|
125
|
-
plugins: {
|
|
126
|
-
import: importPlugin,
|
|
127
|
-
},
|
|
128
124
|
rules: {
|
|
129
125
|
...importRules,
|
|
130
126
|
},
|
|
@@ -145,7 +141,7 @@ export function createNextConfig(options = {}) {
|
|
|
145
141
|
...tanstackQuery.configs["flat/recommended"],
|
|
146
142
|
...tailwindcss.configs["flat/recommended"],
|
|
147
143
|
|
|
148
|
-
// Frontend rules and
|
|
144
|
+
// Frontend rules and overrides
|
|
149
145
|
{
|
|
150
146
|
rules: {
|
|
151
147
|
...frontendRules,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bratislava/eslint-config-next",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "ESLint configuration for Next.js frontend projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -31,11 +31,10 @@
|
|
|
31
31
|
"typescript": ">= 5"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@bratislava/eslint-config": "
|
|
34
|
+
"@bratislava/eslint-config": "6.0.0",
|
|
35
35
|
"@next/eslint-plugin-next": "15.5.2",
|
|
36
36
|
"@tanstack/eslint-plugin-query": "5.91.2",
|
|
37
37
|
"eslint-plugin-i18next": "6.1.3",
|
|
38
|
-
"eslint-plugin-import": "2.32.0",
|
|
39
38
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
40
39
|
"eslint-plugin-react": "7.37.5",
|
|
41
40
|
"eslint-plugin-react-hooks": "7.0.1",
|