@kasoa/eslint-config 0.0.19 → 0.0.20
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/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +1 -2
- package/package.json +17 -17
- package/src/react/index.ts +0 -2
- package/dist/react/react-compiler.d.ts +0 -2
- package/dist/react/react-compiler.d.ts.map +0 -1
- package/dist/react/react-compiler.js +0 -6
- package/src/react/react-compiler.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,KAAK,kCAQjB,CAAC"}
|
package/dist/react/index.js
CHANGED
|
@@ -3,8 +3,7 @@ import { base } from "../base/index.js";
|
|
|
3
3
|
import { perfectionistJsxConfig } from "../base/perfectionist.js";
|
|
4
4
|
import { eslintReactConfig } from "./eslint-react.js";
|
|
5
5
|
import { jsxA11yConfig } from "./jsx-a11y.js";
|
|
6
|
-
import { reactCompilerConfig } from "./react-compiler.js";
|
|
7
6
|
import { reactHooksConfig } from "./react-hooks.js";
|
|
8
7
|
import { reactRefreshConfig } from "./react-refresh.js";
|
|
9
8
|
import { reactYouMightNotNeedAnEffectConfig } from "./react-you-might-not-need-an-effect.js";
|
|
10
|
-
export const react = defineConfig(base, eslintReactConfig, jsxA11yConfig, reactHooksConfig, reactRefreshConfig,
|
|
9
|
+
export const react = defineConfig(base, eslintReactConfig, jsxA11yConfig, reactHooksConfig, reactRefreshConfig, reactYouMightNotNeedAnEffectConfig, perfectionistJsxConfig);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kasoa/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Kasoa's ESLint config",
|
|
@@ -35,6 +35,15 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"dev": "tsgo --watch",
|
|
40
|
+
"build": "tsgo",
|
|
41
|
+
"lint": "eslint --fix --cache .",
|
|
42
|
+
"format": "prettier --write --cache --experimental-cli .",
|
|
43
|
+
"typecheck": "tsgo --noEmit",
|
|
44
|
+
"test": "echo 'No tests'",
|
|
45
|
+
"prepublishOnly": "pnpm build"
|
|
46
|
+
},
|
|
38
47
|
"dependencies": {
|
|
39
48
|
"@eslint-react/eslint-plugin": "^2.7.2",
|
|
40
49
|
"@eslint/js": "latest",
|
|
@@ -47,12 +56,11 @@
|
|
|
47
56
|
"eslint-plugin-jsx-a11y-x": "^0.1.1",
|
|
48
57
|
"eslint-plugin-n": "^17.23.2",
|
|
49
58
|
"eslint-plugin-no-barrel-files": "^1.2.2",
|
|
50
|
-
"eslint-plugin-perfectionist": "^5.
|
|
51
|
-
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
59
|
+
"eslint-plugin-perfectionist": "^5.4.0",
|
|
52
60
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
53
61
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
54
62
|
"eslint-plugin-react-you-might-not-need-an-effect": "^0.8.5",
|
|
55
|
-
"eslint-plugin-regexp": "^
|
|
63
|
+
"eslint-plugin-regexp": "^3.0.0",
|
|
56
64
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
57
65
|
"eslint-plugin-unicorn-x": "^3.2.1",
|
|
58
66
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
@@ -60,24 +68,16 @@
|
|
|
60
68
|
"typescript-eslint": "^8.53.1"
|
|
61
69
|
},
|
|
62
70
|
"devDependencies": {
|
|
71
|
+
"@kasoa/tsconfig": "workspace:*",
|
|
63
72
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
64
|
-
"@types/node": "^25.0.
|
|
65
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
66
|
-
"prettier": "^3.8.
|
|
67
|
-
"@kasoa/tsconfig": "0.0.0"
|
|
73
|
+
"@types/node": "^25.0.10",
|
|
74
|
+
"@typescript/native-preview": "^7.0.0-dev.20260122.4",
|
|
75
|
+
"prettier": "^3.8.1"
|
|
68
76
|
},
|
|
69
77
|
"peerDependencies": {
|
|
70
78
|
"eslint": "^9.35.0"
|
|
71
79
|
},
|
|
72
80
|
"engines": {
|
|
73
81
|
"node": ">=24"
|
|
74
|
-
},
|
|
75
|
-
"scripts": {
|
|
76
|
-
"dev": "tsgo --watch",
|
|
77
|
-
"build": "tsgo",
|
|
78
|
-
"lint": "eslint --fix --cache --concurrency=auto .",
|
|
79
|
-
"format": "prettier --write --cache --experimental-cli .",
|
|
80
|
-
"typecheck": "tsgo --noEmit",
|
|
81
|
-
"test": "echo 'No tests'"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|
package/src/react/index.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { base } from "../base/index.js";
|
|
|
3
3
|
import { perfectionistJsxConfig } from "../base/perfectionist.js";
|
|
4
4
|
import { eslintReactConfig } from "./eslint-react.js";
|
|
5
5
|
import { jsxA11yConfig } from "./jsx-a11y.js";
|
|
6
|
-
import { reactCompilerConfig } from "./react-compiler.js";
|
|
7
6
|
import { reactHooksConfig } from "./react-hooks.js";
|
|
8
7
|
import { reactRefreshConfig } from "./react-refresh.js";
|
|
9
8
|
import { reactYouMightNotNeedAnEffectConfig } from "./react-you-might-not-need-an-effect.js";
|
|
@@ -14,7 +13,6 @@ export const react = defineConfig(
|
|
|
14
13
|
jsxA11yConfig,
|
|
15
14
|
reactHooksConfig,
|
|
16
15
|
reactRefreshConfig,
|
|
17
|
-
reactCompilerConfig,
|
|
18
16
|
reactYouMightNotNeedAnEffectConfig,
|
|
19
17
|
perfectionistJsxConfig,
|
|
20
18
|
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-compiler.d.ts","sourceRoot":"","sources":["../../src/react/react-compiler.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,kCAG9B,CAAC"}
|