@siberiacancode/eslint 2.15.2 → 2.16.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/dist/cjs/index.cjs +577 -194
- package/dist/cjs/index.d.cts +13 -0
- package/dist/esm/index.d.mts +13 -0
- package/dist/esm/index.mjs +540 -191
- package/package.json +20 -17
- package/dist/types/index.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siberiacancode/eslint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.16.0",
|
|
5
5
|
"description": "eslint configs",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "SIBERIA CAN CODE 🧊",
|
|
@@ -28,21 +28,25 @@
|
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/esm/index.d.mts",
|
|
33
|
+
"default": "./dist/esm/index.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/cjs/index.d.cts",
|
|
37
|
+
"default": "./dist/cjs/index.cjs"
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
"main": "dist/cjs/index.cjs",
|
|
38
42
|
"module": "dist/esm/index.mjs",
|
|
39
|
-
"types": "dist/
|
|
43
|
+
"types": "dist/esm/index.d.mts",
|
|
40
44
|
"files": [
|
|
41
|
-
"dist
|
|
45
|
+
"dist"
|
|
42
46
|
],
|
|
43
47
|
"scripts": {
|
|
44
48
|
"prepublishOnly": "yarn type && yarn build",
|
|
45
|
-
"build": "
|
|
49
|
+
"build": "tsdown",
|
|
46
50
|
"lint": "eslint . --fix",
|
|
47
51
|
"lint-inspector": "npx @eslint/config-inspector",
|
|
48
52
|
"type": "tsc --noEmit",
|
|
@@ -50,22 +54,21 @@
|
|
|
50
54
|
"pretty": "yarn type && yarn lint && yarn format"
|
|
51
55
|
},
|
|
52
56
|
"dependencies": {
|
|
53
|
-
"@antfu/eslint-config": "7.3
|
|
54
|
-
"@eslint-react/eslint-plugin": "2.
|
|
57
|
+
"@antfu/eslint-config": "7.4.3",
|
|
58
|
+
"@eslint-react/eslint-plugin": "2.13.0",
|
|
59
|
+
"@eslint/css": "^0.14.1",
|
|
55
60
|
"@next/eslint-plugin-next": "16.1.6",
|
|
56
61
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
57
|
-
"@vue/compiler-sfc": "3.5.
|
|
58
|
-
"eslint": "10.0.
|
|
62
|
+
"@vue/compiler-sfc": "3.5.29",
|
|
63
|
+
"eslint": "10.0.2",
|
|
59
64
|
"eslint-flat-config-utils": "^3.0.1",
|
|
60
65
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
61
|
-
"eslint-plugin-
|
|
66
|
+
"eslint-plugin-playwright": "^2.9.0",
|
|
62
67
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
63
|
-
"eslint-plugin-react-refresh": "0.5.
|
|
68
|
+
"eslint-plugin-react-refresh": "0.5.2"
|
|
64
69
|
},
|
|
65
70
|
"devDependencies": {
|
|
66
|
-
"@siberiacancode/prettier": "*"
|
|
67
|
-
"vite": "^7.3.1",
|
|
68
|
-
"vite-plugin-dts": "^4.5.4"
|
|
71
|
+
"@siberiacancode/prettier": "*"
|
|
69
72
|
},
|
|
70
73
|
"lint-staged": {
|
|
71
74
|
"*.{js,ts}": [
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Awaitable, ConfigNames, OptionsConfig, TypedFlatConfigItem } from '@antfu/eslint-config';
|
|
2
|
-
import { Linter } from 'eslint';
|
|
3
|
-
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
4
|
-
type EslintOptions = OptionsConfig & TypedFlatConfigItem & {
|
|
5
|
-
jsxA11y?: boolean;
|
|
6
|
-
next?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type Eslint = (options?: EslintOptions, ...userConfigs: Awaitable<FlatConfigComposer<any, any> | Linter.Config[] | TypedFlatConfigItem | TypedFlatConfigItem[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
9
|
-
export declare const eslint: Eslint;
|
|
10
|
-
export {};
|