@bratislava/eslint-config-react 0.6.0 → 0.8.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.
- package/index.js +1 -5
- package/package.json +2 -3
package/index.js
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
import { baseConfig } from "@bratislava/eslint-config";
|
|
9
9
|
import tanstackQuery from "@tanstack/eslint-plugin-query";
|
|
10
|
-
import importPlugin from "eslint-plugin-import";
|
|
11
10
|
import jsxA11y from "eslint-plugin-jsx-a11y";
|
|
12
11
|
import react from "eslint-plugin-react";
|
|
13
12
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
@@ -107,11 +106,8 @@ export function createReactConfig(options = {}) {
|
|
|
107
106
|
// JSX A11y recommended config
|
|
108
107
|
jsxA11y.flatConfigs.recommended,
|
|
109
108
|
|
|
110
|
-
// Import rules
|
|
109
|
+
// Import rules (plugin registered in base config)
|
|
111
110
|
{
|
|
112
|
-
plugins: {
|
|
113
|
-
import: importPlugin,
|
|
114
|
-
},
|
|
115
111
|
rules: {
|
|
116
112
|
...importRules,
|
|
117
113
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bratislava/eslint-config-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "ESLint configuration for React projects (without Next.js)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -29,9 +29,8 @@
|
|
|
29
29
|
"typescript": ">= 5"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@bratislava/eslint-config": "0.
|
|
32
|
+
"@bratislava/eslint-config": "0.8.0",
|
|
33
33
|
"@tanstack/eslint-plugin-query": "5.91.2",
|
|
34
|
-
"eslint-plugin-import": "2.32.0",
|
|
35
34
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
36
35
|
"eslint-plugin-react": "7.37.5",
|
|
37
36
|
"eslint-plugin-react-hooks": "5.2.0",
|