@ethang/eslint-config 20.1.1 → 21.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.
- package/README.md +37 -39
- package/chunk-WK3YS7OG.js +2 -0
- package/chunk-WK3YS7OG.js.map +1 -0
- package/config.angular.js +2 -99
- package/config.angular.js.map +1 -1
- package/config.astro.js +2 -66
- package/config.astro.js.map +1 -1
- package/config.react.js +2 -108
- package/config.react.js.map +1 -1
- package/config.solid.js +2 -32
- package/config.solid.js.map +1 -1
- package/constants.js +2 -3
- package/eslint.config.js +2 -1307
- package/eslint.config.js.map +1 -1
- package/package.json +43 -32
- package/chunk-D5NRNSPH.js +0 -10
- package/chunk-D5NRNSPH.js.map +0 -1
package/README.md
CHANGED
|
@@ -3,46 +3,44 @@
|
|
|
3
3
|
[View Config](https://eslint-config-ethang.pages.dev/rules)
|
|
4
4
|
|
|
5
5
|
> [!CAUTION]
|
|
6
|
-
>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- 1 rule from [@tanstack/eslint-plugin-router](https://tanstack.com/router/latest/docs/eslint/eslint-plugin-router)
|
|
27
|
-
- 1 rule from [@cspell/eslint-plugin](https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-eslint-plugin)
|
|
6
|
+
> Prettier is already included for styling!
|
|
7
|
+
|
|
8
|
+
* 742 errored rules.
|
|
9
|
+
* 241 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/README.md)
|
|
10
|
+
* 141 rules from [@eslint/js](https://github.com/eslint/eslint/tree/main/packages/js)
|
|
11
|
+
* 116 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
|
|
12
|
+
* 106 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
|
|
13
|
+
* 34 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
|
|
14
|
+
* 32 rules from [eslint-plugin-lodash](https://github.com/wix-incubator/eslint-plugin-lodash)
|
|
15
|
+
* 20 rules from [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n)
|
|
16
|
+
* 20 rules from [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist)
|
|
17
|
+
* 7 rules from [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss)
|
|
18
|
+
* 7 rules from [@eslint/markdown](https://github.com/eslint/markdown)
|
|
19
|
+
* 6 rules from [@eslint/json](https://github.com/eslint/json)
|
|
20
|
+
* 5 rules from [@tanstack/eslint-plugin-query](https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query)
|
|
21
|
+
* 3 rules from [eslint-plugin-barrel-files](https://github.com/thepassle/eslint-plugin-barrel-files)
|
|
22
|
+
* 1 rule from [eslint-plugin-depend](https://github.com/es-tooling/eslint-plugin-depend/tree/main)
|
|
23
|
+
* 1 rule from [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat)
|
|
24
|
+
* 1 rule from [@tanstack/eslint-plugin-router](https://tanstack.com/router/latest/docs/eslint/eslint-plugin-router)
|
|
25
|
+
* 1 rule from [@cspell/eslint-plugin](https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-eslint-plugin)
|
|
28
26
|
|
|
29
27
|
# Add Even More!
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
29
|
+
* 64 rules for **Angular**
|
|
30
|
+
* `import angularConfig from "@ethang/eslint-config/config.angular.js";`
|
|
31
|
+
* 38 rules from [@angular-eslint/eslint-plugin](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/README.md)
|
|
32
|
+
* 26 rules from [@angular-eslint/eslint-plugin-template](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/README.md)
|
|
33
|
+
* 52 rules for **Astro**
|
|
34
|
+
* `import astroConfig from "@ethang/eslint-config/config.astro.js";`
|
|
35
|
+
* 52 rules from [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro)
|
|
36
|
+
* 85 rules for **React**
|
|
37
|
+
* `import reactConfig from "@ethang/eslint-config/config.react.js";`
|
|
38
|
+
* 82 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
|
|
39
|
+
* 2 rules from [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks)
|
|
40
|
+
* 1 rules from [eslint-plugin-react-compiler](https://github.com/facebook/react/tree/main/compiler/packages/eslint-plugin-react-compiler)
|
|
41
|
+
* 18 rules for **Solid**
|
|
42
|
+
* `import solidConfig from "@ethang/eslint-config/config.solid.js";`
|
|
43
|
+
* 18 rules from [eslint-plugin-solid](https://github.com/solidjs-community/eslint-plugin-solid)
|
|
46
44
|
|
|
47
45
|
# Install
|
|
48
46
|
|
|
@@ -77,7 +75,7 @@ export default tseslint.config(
|
|
|
77
75
|
rules: {
|
|
78
76
|
// Override rules from above configs
|
|
79
77
|
},
|
|
80
|
-
}
|
|
78
|
+
}
|
|
81
79
|
);
|
|
82
80
|
```
|
|
83
81
|
|
|
@@ -99,4 +97,4 @@ This config will also lint for browserslist features. Make sure to set this in p
|
|
|
99
97
|
"defaults and fully supports es6-module",
|
|
100
98
|
"maintained node versions"
|
|
101
99
|
]
|
|
102
|
-
```
|
|
100
|
+
```
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@angular-eslint/template-parser";import{parser as o}from"typescript-eslint";var n=["eslint.config.js","node_modules","dist"],s={parser:o,parserOptions:{project:!0,tsconfigRootDir:import.meta.dirname}},a={parser:r};export{n as a,s as b,a as c};
|
|
2
|
+
//# sourceMappingURL=chunk-WK3YS7OG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants.js"],"sourcesContent":["import angularTemplateParser from \"@angular-eslint/template-parser\";\nimport { parser } from \"typescript-eslint\";\n\nexport const ignores = [\"eslint.config.js\", \"node_modules\", \"dist\"];\n\nexport const languageOptions = {\n parser,\n parserOptions: {\n project: true,\n tsconfigRootDir: import.meta.dirname,\n },\n};\n\nexport const angularLanguageOptions = {\n parser: angularTemplateParser,\n};\n"],"mappings":"AAAA,OAAOA,MAA2B,kCAClC,OAAS,UAAAC,MAAc,oBAEhB,IAAMC,EAAU,CAAC,mBAAoB,eAAgB,MAAM,EAErDC,EAAkB,CAC7B,OAAAF,EACA,cAAe,CACb,QAAS,GACT,gBAAiB,YAAY,OAC/B,CACF,EAEaG,EAAyB,CACpC,OAAQJ,CACV","names":["angularTemplateParser","parser","ignores","languageOptions","angularLanguageOptions"]}
|
package/config.angular.js
CHANGED
|
@@ -1,99 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import n from "@angular-eslint/eslint-plugin-template";
|
|
4
|
-
import l from "@angular-eslint/eslint-plugin";
|
|
5
|
-
import o from "typescript-eslint";
|
|
6
|
-
var m = o.config(
|
|
7
|
-
{ ignores: ["**/*.spec.ts", "src/main.server.ts"] },
|
|
8
|
-
{
|
|
9
|
-
files: ["**/*.ts"],
|
|
10
|
-
ignores: e,
|
|
11
|
-
languageOptions: r,
|
|
12
|
-
processor: t.processInlineTemplates,
|
|
13
|
-
plugins: { "@angular-eslint": l },
|
|
14
|
-
rules: {
|
|
15
|
-
"@angular-eslint/component-class-suffix": "error",
|
|
16
|
-
"@angular-eslint/component-max-inline-declarations": "error",
|
|
17
|
-
"@angular-eslint/component-selector": [
|
|
18
|
-
"error",
|
|
19
|
-
{ type: "element", prefix: "app", style: "kebab-case" },
|
|
20
|
-
],
|
|
21
|
-
"@angular-eslint/consistent-component-styles": "error",
|
|
22
|
-
"@angular-eslint/contextual-decorator": "error",
|
|
23
|
-
"@angular-eslint/contextual-lifecycle": "error",
|
|
24
|
-
"@angular-eslint/directive-class-suffix": "error",
|
|
25
|
-
"@angular-eslint/directive-selector": [
|
|
26
|
-
"error",
|
|
27
|
-
{ type: "attribute", prefix: "app", style: "camelCase" },
|
|
28
|
-
],
|
|
29
|
-
"@angular-eslint/no-async-lifecycle-method": "error",
|
|
30
|
-
"@angular-eslint/no-attribute-decorator": "error",
|
|
31
|
-
"@angular-eslint/no-conflicting-lifecycle": "error",
|
|
32
|
-
"@angular-eslint/no-duplicates-in-metadata-arrays": "error",
|
|
33
|
-
"@angular-eslint/no-empty-lifecycle-method": "error",
|
|
34
|
-
"@angular-eslint/no-forward-ref": "error",
|
|
35
|
-
"@angular-eslint/no-input-prefix": "error",
|
|
36
|
-
"@angular-eslint/no-input-rename": "error",
|
|
37
|
-
"@angular-eslint/no-inputs-metadata-property": "error",
|
|
38
|
-
"@angular-eslint/no-lifecycle-call": "error",
|
|
39
|
-
"@angular-eslint/no-output-native": "error",
|
|
40
|
-
"@angular-eslint/no-output-on-prefix": "error",
|
|
41
|
-
"@angular-eslint/no-output-rename": "error",
|
|
42
|
-
"@angular-eslint/no-outputs-metadata-property": "error",
|
|
43
|
-
"@angular-eslint/no-pipe-impure": "error",
|
|
44
|
-
"@angular-eslint/no-queries-metadata-property": "error",
|
|
45
|
-
"@angular-eslint/pipe-prefix": "error",
|
|
46
|
-
"@angular-eslint/prefer-on-push-component-change-detection": "error",
|
|
47
|
-
"@angular-eslint/prefer-output-readonly": "error",
|
|
48
|
-
"@angular-eslint/prefer-signals": "error",
|
|
49
|
-
"@angular-eslint/prefer-standalone": "error",
|
|
50
|
-
"@angular-eslint/relative-url-prefix": "error",
|
|
51
|
-
"@angular-eslint/require-localize-metadata": "error",
|
|
52
|
-
"@angular-eslint/runtime-localize": "error",
|
|
53
|
-
"@angular-eslint/sort-lifecycle-methods": "error",
|
|
54
|
-
"@angular-eslint/use-component-selector": "error",
|
|
55
|
-
"@angular-eslint/use-component-view-encapsulation": "error",
|
|
56
|
-
"@angular-eslint/use-injectable-provided-in": "error",
|
|
57
|
-
"@angular-eslint/use-lifecycle-interface": "error",
|
|
58
|
-
"@angular-eslint/use-pipe-transform-interface": "error",
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
files: ["**/*.html"],
|
|
63
|
-
languageOptions: a,
|
|
64
|
-
plugins: { "@angular-eslint/template": n },
|
|
65
|
-
rules: {
|
|
66
|
-
"@angular-eslint/template/alt-text": "error",
|
|
67
|
-
"@angular-eslint/template/attributes-order": "error",
|
|
68
|
-
"@angular-eslint/template/banana-in-box": "error",
|
|
69
|
-
"@angular-eslint/template/button-has-type": "error",
|
|
70
|
-
"@angular-eslint/template/click-events-have-key-events": "error",
|
|
71
|
-
"@angular-eslint/template/conditional-complexity": "error",
|
|
72
|
-
"@angular-eslint/template/cyclomatic-complexity": "error",
|
|
73
|
-
"@angular-eslint/template/elements-content": "error",
|
|
74
|
-
"@angular-eslint/template/eqeqeq": "error",
|
|
75
|
-
"@angular-eslint/template/i18n": "off",
|
|
76
|
-
"@angular-eslint/template/interactive-supports-focus": "error",
|
|
77
|
-
"@angular-eslint/template/label-has-associated-control": "error",
|
|
78
|
-
"@angular-eslint/template/mouse-events-have-key-events": "error",
|
|
79
|
-
"@angular-eslint/template/no-any": "error",
|
|
80
|
-
"@angular-eslint/template/no-autofocus": "error",
|
|
81
|
-
"@angular-eslint/template/no-call-expression": "off",
|
|
82
|
-
"@angular-eslint/template/no-distracting-elements": "error",
|
|
83
|
-
"@angular-eslint/template/no-duplicate-attributes": "error",
|
|
84
|
-
"@angular-eslint/template/no-inline-styles": "error",
|
|
85
|
-
"@angular-eslint/template/no-interpolation-in-attributes": "error",
|
|
86
|
-
"@angular-eslint/template/no-negated-async": "error",
|
|
87
|
-
"@angular-eslint/template/no-positive-tabindex": "error",
|
|
88
|
-
"@angular-eslint/template/prefer-control-flow": "error",
|
|
89
|
-
"@angular-eslint/template/prefer-ngsrc": "warn",
|
|
90
|
-
"@angular-eslint/template/prefer-self-closing-tags": "error",
|
|
91
|
-
"@angular-eslint/template/role-has-required-aria": "error",
|
|
92
|
-
"@angular-eslint/template/table-scope": "error",
|
|
93
|
-
"@angular-eslint/template/use-track-by-function": "error",
|
|
94
|
-
"@angular-eslint/template/valid-aria": "error",
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
);
|
|
98
|
-
export { m as default };
|
|
99
|
-
//# sourceMappingURL=config.angular.js.map
|
|
1
|
+
import{a as r,b as e,c as a}from"./chunk-WK3YS7OG.js";import t from"angular-eslint";import n from"@angular-eslint/eslint-plugin-template";import l from"@angular-eslint/eslint-plugin";import o from"typescript-eslint";var m=o.config({ignores:["**/*.spec.ts","src/main.server.ts"]},{files:["**/*.ts"],ignores:r,languageOptions:e,processor:t.processInlineTemplates,plugins:{"@angular-eslint":l},rules:{"@angular-eslint/component-class-suffix":"error","@angular-eslint/component-max-inline-declarations":"error","@angular-eslint/component-selector":["error",{prefix:"app",style:"kebab-case",type:"element"}],"@angular-eslint/consistent-component-styles":"error","@angular-eslint/contextual-decorator":"error","@angular-eslint/contextual-lifecycle":"error","@angular-eslint/directive-class-suffix":"error","@angular-eslint/directive-selector":["error",{prefix:"app",style:"camelCase",type:"attribute"}],"@angular-eslint/no-async-lifecycle-method":"error","@angular-eslint/no-attribute-decorator":"error","@angular-eslint/no-conflicting-lifecycle":"error","@angular-eslint/no-duplicates-in-metadata-arrays":"error","@angular-eslint/no-empty-lifecycle-method":"error","@angular-eslint/no-forward-ref":"error","@angular-eslint/no-input-prefix":"error","@angular-eslint/no-input-rename":"error","@angular-eslint/no-inputs-metadata-property":"error","@angular-eslint/no-lifecycle-call":"error","@angular-eslint/no-output-native":"error","@angular-eslint/no-output-on-prefix":"error","@angular-eslint/no-output-rename":"error","@angular-eslint/no-outputs-metadata-property":"error","@angular-eslint/no-pipe-impure":"error","@angular-eslint/no-queries-metadata-property":"error","@angular-eslint/pipe-prefix":"error","@angular-eslint/prefer-on-push-component-change-detection":"error","@angular-eslint/prefer-output-readonly":"error","@angular-eslint/prefer-signals":"error","@angular-eslint/prefer-standalone":"error","@angular-eslint/relative-url-prefix":"error","@angular-eslint/require-localize-metadata":"error","@angular-eslint/runtime-localize":"error","@angular-eslint/sort-lifecycle-methods":"error","@angular-eslint/use-component-selector":"error","@angular-eslint/use-component-view-encapsulation":"error","@angular-eslint/use-injectable-provided-in":"error","@angular-eslint/use-lifecycle-interface":"error","@angular-eslint/use-pipe-transform-interface":"error"}},{files:["**/*.html"],languageOptions:e,languageOptions:a,plugins:{"@angular-eslint/template":n},rules:{"@angular-eslint/template/alt-text":"error","@angular-eslint/template/attributes-order":"error","@angular-eslint/template/banana-in-box":"error","@angular-eslint/template/button-has-type":"error","@angular-eslint/template/click-events-have-key-events":"error","@angular-eslint/template/conditional-complexity":"error","@angular-eslint/template/cyclomatic-complexity":"error","@angular-eslint/template/elements-content":"error","@angular-eslint/template/eqeqeq":"error","@angular-eslint/template/i18n":"off","@angular-eslint/template/interactive-supports-focus":"error","@angular-eslint/template/label-has-associated-control":"error","@angular-eslint/template/mouse-events-have-key-events":"error","@angular-eslint/template/no-any":"error","@angular-eslint/template/no-autofocus":"error","@angular-eslint/template/no-call-expression":"off","@angular-eslint/template/no-distracting-elements":"error","@angular-eslint/template/no-duplicate-attributes":"error","@angular-eslint/template/no-inline-styles":"error","@angular-eslint/template/no-interpolation-in-attributes":"error","@angular-eslint/template/no-negated-async":"error","@angular-eslint/template/no-positive-tabindex":"error","@angular-eslint/template/prefer-control-flow":"error","@angular-eslint/template/prefer-ngsrc":"warn","@angular-eslint/template/prefer-self-closing-tags":"error","@angular-eslint/template/role-has-required-aria":"error","@angular-eslint/template/table-scope":"error","@angular-eslint/template/use-track-by-function":"error","@angular-eslint/template/valid-aria":"error"}});export{m as default};
|
|
2
|
+
//# sourceMappingURL=config.angular.js.map
|
package/config.angular.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config.angular.js"],"sourcesContent":["// @ts-nocheck\nimport { angularLanguageOptions } from \"./constants.js\"\nimport { ignores, languageOptions } from \"./constants.js\";\nimport angular from \"angular-eslint\";\nimport angularTemplate from \"@angular-eslint/eslint-plugin-template\";\nimport angularTS from \"@angular-eslint/eslint-plugin\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n ignores: [\"**/*.spec.ts\", \"src/main.server.ts\"],\n },{\n files: [\"**/*.ts\"],\nignores,\nlanguageOptions,\nprocessor: angular.processInlineTemplates,\n plugins: {\n \"@angular-eslint\": angularTS,\n },\n rules: {\n \"@angular-eslint/component-class-suffix\":\"error\",\"@angular-eslint/component-max-inline-declarations\":\"error\",\"@angular-eslint/component-selector\":[\"error\",{\"
|
|
1
|
+
{"version":3,"sources":["../src/config.angular.js"],"sourcesContent":["// @ts-nocheck\nimport { angularLanguageOptions } from \"./constants.js\"\nimport { ignores, languageOptions } from \"./constants.js\";\nimport angular from \"angular-eslint\";\nimport angularTemplate from \"@angular-eslint/eslint-plugin-template\";\nimport angularTS from \"@angular-eslint/eslint-plugin\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n ignores: [\"**/*.spec.ts\", \"src/main.server.ts\"],\n },{\n files: [\"**/*.ts\"],\nignores,\nlanguageOptions,\nprocessor: angular.processInlineTemplates,\n plugins: {\n \"@angular-eslint\": angularTS,\n },\n rules: {\n \"@angular-eslint/component-class-suffix\":\"error\",\"@angular-eslint/component-max-inline-declarations\":\"error\",\"@angular-eslint/component-selector\":[\"error\",{\"prefix\":\"app\",\"style\":\"kebab-case\",\"type\":\"element\"}],\"@angular-eslint/consistent-component-styles\":\"error\",\"@angular-eslint/contextual-decorator\":\"error\",\"@angular-eslint/contextual-lifecycle\":\"error\",\"@angular-eslint/directive-class-suffix\":\"error\",\"@angular-eslint/directive-selector\":[\"error\",{\"prefix\":\"app\",\"style\":\"camelCase\",\"type\":\"attribute\"}],\"@angular-eslint/no-async-lifecycle-method\":\"error\",\"@angular-eslint/no-attribute-decorator\":\"error\",\"@angular-eslint/no-conflicting-lifecycle\":\"error\",\"@angular-eslint/no-duplicates-in-metadata-arrays\":\"error\",\"@angular-eslint/no-empty-lifecycle-method\":\"error\",\"@angular-eslint/no-forward-ref\":\"error\",\"@angular-eslint/no-input-prefix\":\"error\",\"@angular-eslint/no-input-rename\":\"error\",\"@angular-eslint/no-inputs-metadata-property\":\"error\",\"@angular-eslint/no-lifecycle-call\":\"error\",\"@angular-eslint/no-output-native\":\"error\",\"@angular-eslint/no-output-on-prefix\":\"error\",\"@angular-eslint/no-output-rename\":\"error\",\"@angular-eslint/no-outputs-metadata-property\":\"error\",\"@angular-eslint/no-pipe-impure\":\"error\",\"@angular-eslint/no-queries-metadata-property\":\"error\",\"@angular-eslint/pipe-prefix\":\"error\",\"@angular-eslint/prefer-on-push-component-change-detection\":\"error\",\"@angular-eslint/prefer-output-readonly\":\"error\",\"@angular-eslint/prefer-signals\":\"error\",\"@angular-eslint/prefer-standalone\":\"error\",\"@angular-eslint/relative-url-prefix\":\"error\",\"@angular-eslint/require-localize-metadata\":\"error\",\"@angular-eslint/runtime-localize\":\"error\",\"@angular-eslint/sort-lifecycle-methods\":\"error\",\"@angular-eslint/use-component-selector\":\"error\",\"@angular-eslint/use-component-view-encapsulation\":\"error\",\"@angular-eslint/use-injectable-provided-in\":\"error\",\"@angular-eslint/use-lifecycle-interface\":\"error\",\"@angular-eslint/use-pipe-transform-interface\":\"error\"\n },\n },\n{\n files: [\"**/*.html\"],\nlanguageOptions,\nlanguageOptions: angularLanguageOptions,\n plugins: {\n \"@angular-eslint/template\": angularTemplate,\n },\n rules: {\n \"@angular-eslint/template/alt-text\":\"error\",\"@angular-eslint/template/attributes-order\":\"error\",\"@angular-eslint/template/banana-in-box\":\"error\",\"@angular-eslint/template/button-has-type\":\"error\",\"@angular-eslint/template/click-events-have-key-events\":\"error\",\"@angular-eslint/template/conditional-complexity\":\"error\",\"@angular-eslint/template/cyclomatic-complexity\":\"error\",\"@angular-eslint/template/elements-content\":\"error\",\"@angular-eslint/template/eqeqeq\":\"error\",\"@angular-eslint/template/i18n\":\"off\",\"@angular-eslint/template/interactive-supports-focus\":\"error\",\"@angular-eslint/template/label-has-associated-control\":\"error\",\"@angular-eslint/template/mouse-events-have-key-events\":\"error\",\"@angular-eslint/template/no-any\":\"error\",\"@angular-eslint/template/no-autofocus\":\"error\",\"@angular-eslint/template/no-call-expression\":\"off\",\"@angular-eslint/template/no-distracting-elements\":\"error\",\"@angular-eslint/template/no-duplicate-attributes\":\"error\",\"@angular-eslint/template/no-inline-styles\":\"error\",\"@angular-eslint/template/no-interpolation-in-attributes\":\"error\",\"@angular-eslint/template/no-negated-async\":\"error\",\"@angular-eslint/template/no-positive-tabindex\":\"error\",\"@angular-eslint/template/prefer-control-flow\":\"error\",\"@angular-eslint/template/prefer-ngsrc\":\"warn\",\"@angular-eslint/template/prefer-self-closing-tags\":\"error\",\"@angular-eslint/template/role-has-required-aria\":\"error\",\"@angular-eslint/template/table-scope\":\"error\",\"@angular-eslint/template/use-track-by-function\":\"error\",\"@angular-eslint/template/valid-aria\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"sDAGA,OAAOA,MAAa,iBACpB,OAAOC,MAAqB,yCAC5B,OAAOC,MAAe,gCACtB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACE,QAAS,CAAC,eAAgB,oBAAoB,CAChD,EAAE,CACF,MAAO,CAAC,SAAS,EACrB,QAAAE,EACA,gBAAAC,EACA,UAAWN,EAAQ,uBACf,QAAS,CACP,kBAAmBE,CACrB,EACA,MAAO,CACL,yCAAyC,QAAQ,oDAAoD,QAAQ,qCAAqC,CAAC,QAAQ,CAAC,OAAS,MAAM,MAAQ,aAAa,KAAO,SAAS,CAAC,EAAE,8CAA8C,QAAQ,uCAAuC,QAAQ,uCAAuC,QAAQ,yCAAyC,QAAQ,qCAAqC,CAAC,QAAQ,CAAC,OAAS,MAAM,MAAQ,YAAY,KAAO,WAAW,CAAC,EAAE,4CAA4C,QAAQ,yCAAyC,QAAQ,2CAA2C,QAAQ,mDAAmD,QAAQ,4CAA4C,QAAQ,iCAAiC,QAAQ,kCAAkC,QAAQ,kCAAkC,QAAQ,8CAA8C,QAAQ,oCAAoC,QAAQ,mCAAmC,QAAQ,sCAAsC,QAAQ,mCAAmC,QAAQ,+CAA+C,QAAQ,iCAAiC,QAAQ,+CAA+C,QAAQ,8BAA8B,QAAQ,4DAA4D,QAAQ,yCAAyC,QAAQ,iCAAiC,QAAQ,oCAAoC,QAAQ,sCAAsC,QAAQ,4CAA4C,QAAQ,mCAAmC,QAAQ,yCAAyC,QAAQ,yCAAyC,QAAQ,mDAAmD,QAAQ,6CAA6C,QAAQ,0CAA0C,QAAQ,+CAA+C,OACl7D,CACF,EACF,CACI,MAAO,CAAC,WAAW,EACvB,gBAAAI,EACA,gBAAiBC,EACb,QAAS,CACP,2BAA4BN,CAC9B,EACA,MAAO,CACL,oCAAoC,QAAQ,4CAA4C,QAAQ,yCAAyC,QAAQ,2CAA2C,QAAQ,wDAAwD,QAAQ,kDAAkD,QAAQ,iDAAiD,QAAQ,4CAA4C,QAAQ,kCAAkC,QAAQ,gCAAgC,MAAM,sDAAsD,QAAQ,wDAAwD,QAAQ,wDAAwD,QAAQ,kCAAkC,QAAQ,wCAAwC,QAAQ,8CAA8C,MAAM,mDAAmD,QAAQ,mDAAmD,QAAQ,4CAA4C,QAAQ,0DAA0D,QAAQ,4CAA4C,QAAQ,gDAAgD,QAAQ,+CAA+C,QAAQ,wCAAwC,OAAO,oDAAoD,QAAQ,kDAAkD,QAAQ,uCAAuC,QAAQ,iDAAiD,QAAQ,sCAAsC,OAC3gD,CACF,CAGA","names":["angular","angularTemplate","angularTS","tseslint","config_angular_default","ignores","languageOptions","angularLanguageOptions"]}
|
package/config.astro.js
CHANGED
|
@@ -1,66 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import a from "typescript-eslint";
|
|
4
|
-
var i = a.config({
|
|
5
|
-
files: ["**/*.{astro}"],
|
|
6
|
-
ignores: r,
|
|
7
|
-
languageOptions: o,
|
|
8
|
-
plugins: { astro: e },
|
|
9
|
-
rules: {
|
|
10
|
-
"astro/jsx-a11y/alt-text": "error",
|
|
11
|
-
"astro/jsx-a11y/anchor-ambiguous-text": "error",
|
|
12
|
-
"astro/jsx-a11y/anchor-has-content": "error",
|
|
13
|
-
"astro/jsx-a11y/anchor-is-valid": "error",
|
|
14
|
-
"astro/jsx-a11y/aria-activedescendant-has-tabindex": "error",
|
|
15
|
-
"astro/jsx-a11y/aria-props": "error",
|
|
16
|
-
"astro/jsx-a11y/aria-proptypes": "error",
|
|
17
|
-
"astro/jsx-a11y/aria-role": "error",
|
|
18
|
-
"astro/jsx-a11y/aria-unsupported-elements": "error",
|
|
19
|
-
"astro/jsx-a11y/autocomplete-valid": "error",
|
|
20
|
-
"astro/jsx-a11y/click-events-have-key-events": "error",
|
|
21
|
-
"astro/jsx-a11y/control-has-associated-label": "error",
|
|
22
|
-
"astro/jsx-a11y/heading-has-content": "error",
|
|
23
|
-
"astro/jsx-a11y/html-has-lang": "error",
|
|
24
|
-
"astro/jsx-a11y/iframe-has-title": "error",
|
|
25
|
-
"astro/jsx-a11y/img-redundant-alt": "error",
|
|
26
|
-
"astro/jsx-a11y/interactive-supports-focus": "error",
|
|
27
|
-
"astro/jsx-a11y/label-has-associated-control": "error",
|
|
28
|
-
"astro/jsx-a11y/lang": "error",
|
|
29
|
-
"astro/jsx-a11y/media-has-caption": "error",
|
|
30
|
-
"astro/jsx-a11y/mouse-events-have-key-events": "error",
|
|
31
|
-
"astro/jsx-a11y/no-access-key": "error",
|
|
32
|
-
"astro/jsx-a11y/no-aria-hidden-on-focusable": "error",
|
|
33
|
-
"astro/jsx-a11y/no-autofocus": "error",
|
|
34
|
-
"astro/jsx-a11y/no-distracting-elements": "error",
|
|
35
|
-
"astro/jsx-a11y/no-interactive-element-to-noninteractive-role": "error",
|
|
36
|
-
"astro/jsx-a11y/no-noninteractive-element-interactions": "error",
|
|
37
|
-
"astro/jsx-a11y/no-noninteractive-element-to-interactive-role": "error",
|
|
38
|
-
"astro/jsx-a11y/no-noninteractive-tabindex": "error",
|
|
39
|
-
"astro/jsx-a11y/no-redundant-roles": "error",
|
|
40
|
-
"astro/jsx-a11y/no-static-element-interactions": "error",
|
|
41
|
-
"astro/jsx-a11y/prefer-tag-over-role": "error",
|
|
42
|
-
"astro/jsx-a11y/role-has-required-aria-props": "error",
|
|
43
|
-
"astro/jsx-a11y/role-supports-aria-props": "error",
|
|
44
|
-
"astro/jsx-a11y/scope": "error",
|
|
45
|
-
"astro/jsx-a11y/tabindex-no-positive": "error",
|
|
46
|
-
"astro/missing-client-only-directive-value": "error",
|
|
47
|
-
"astro/no-conflict-set-directives": "error",
|
|
48
|
-
"astro/no-deprecated-astro-canonicalurl": "error",
|
|
49
|
-
"astro/no-deprecated-astro-fetchcontent": "error",
|
|
50
|
-
"astro/no-deprecated-astro-resolve": "error",
|
|
51
|
-
"astro/no-deprecated-getentrybyslug": "error",
|
|
52
|
-
"astro/no-exports-from-components": "error",
|
|
53
|
-
"astro/no-set-html-directive": "off",
|
|
54
|
-
"astro/no-set-text-directive": "error",
|
|
55
|
-
"astro/no-unused-css-selector": "error",
|
|
56
|
-
"astro/no-unused-define-vars-in-style": "error",
|
|
57
|
-
"astro/prefer-class-list-directive": "error",
|
|
58
|
-
"astro/prefer-object-class-list": "error",
|
|
59
|
-
"astro/prefer-split-class-list": "error",
|
|
60
|
-
"astro/semi": "error",
|
|
61
|
-
"astro/sort-attributes": "error",
|
|
62
|
-
"astro/valid-compile": "error",
|
|
63
|
-
},
|
|
64
|
-
});
|
|
65
|
-
export { i as default };
|
|
66
|
-
//# sourceMappingURL=config.astro.js.map
|
|
1
|
+
import{a as r,b as o}from"./chunk-WK3YS7OG.js";import e from"eslint-plugin-astro";import a from"typescript-eslint";var i=a.config({files:["**/*.{astro}"],ignores:r,languageOptions:o,plugins:{astro:e},rules:{"astro/jsx-a11y/alt-text":"error","astro/jsx-a11y/anchor-ambiguous-text":"error","astro/jsx-a11y/anchor-has-content":"error","astro/jsx-a11y/anchor-is-valid":"error","astro/jsx-a11y/aria-activedescendant-has-tabindex":"error","astro/jsx-a11y/aria-props":"error","astro/jsx-a11y/aria-proptypes":"error","astro/jsx-a11y/aria-role":"error","astro/jsx-a11y/aria-unsupported-elements":"error","astro/jsx-a11y/autocomplete-valid":"error","astro/jsx-a11y/click-events-have-key-events":"error","astro/jsx-a11y/control-has-associated-label":"error","astro/jsx-a11y/heading-has-content":"error","astro/jsx-a11y/html-has-lang":"error","astro/jsx-a11y/iframe-has-title":"error","astro/jsx-a11y/img-redundant-alt":"error","astro/jsx-a11y/interactive-supports-focus":"error","astro/jsx-a11y/label-has-associated-control":"error","astro/jsx-a11y/lang":"error","astro/jsx-a11y/media-has-caption":"error","astro/jsx-a11y/mouse-events-have-key-events":"error","astro/jsx-a11y/no-access-key":"error","astro/jsx-a11y/no-aria-hidden-on-focusable":"error","astro/jsx-a11y/no-autofocus":"error","astro/jsx-a11y/no-distracting-elements":"error","astro/jsx-a11y/no-interactive-element-to-noninteractive-role":"error","astro/jsx-a11y/no-noninteractive-element-interactions":"error","astro/jsx-a11y/no-noninteractive-element-to-interactive-role":"error","astro/jsx-a11y/no-noninteractive-tabindex":"error","astro/jsx-a11y/no-redundant-roles":"error","astro/jsx-a11y/no-static-element-interactions":"error","astro/jsx-a11y/prefer-tag-over-role":"error","astro/jsx-a11y/role-has-required-aria-props":"error","astro/jsx-a11y/role-supports-aria-props":"error","astro/jsx-a11y/scope":"error","astro/jsx-a11y/tabindex-no-positive":"error","astro/missing-client-only-directive-value":"error","astro/no-conflict-set-directives":"error","astro/no-deprecated-astro-canonicalurl":"error","astro/no-deprecated-astro-fetchcontent":"error","astro/no-deprecated-astro-resolve":"error","astro/no-deprecated-getentrybyslug":"error","astro/no-exports-from-components":"error","astro/no-set-html-directive":"off","astro/no-set-text-directive":"error","astro/no-unused-css-selector":"error","astro/no-unused-define-vars-in-style":"error","astro/prefer-class-list-directive":"error","astro/prefer-object-class-list":"error","astro/prefer-split-class-list":"error","astro/semi":"error","astro/sort-attributes":"error","astro/valid-compile":"error"}});export{i as default};
|
|
2
|
+
//# sourceMappingURL=config.astro.js.map
|
package/config.astro.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config.astro.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport astro from \"eslint-plugin-astro\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{astro}\"],\nignores,\nlanguageOptions,\n plugins: {\n \"astro\": astro,\n },\n rules: {\n \"astro/jsx-a11y/alt-text\":\"error\",\"astro/jsx-a11y/anchor-ambiguous-text\":\"error\",\"astro/jsx-a11y/anchor-has-content\":\"error\",\"astro/jsx-a11y/anchor-is-valid\":\"error\",\"astro/jsx-a11y/aria-activedescendant-has-tabindex\":\"error\",\"astro/jsx-a11y/aria-props\":\"error\",\"astro/jsx-a11y/aria-proptypes\":\"error\",\"astro/jsx-a11y/aria-role\":\"error\",\"astro/jsx-a11y/aria-unsupported-elements\":\"error\",\"astro/jsx-a11y/autocomplete-valid\":\"error\",\"astro/jsx-a11y/click-events-have-key-events\":\"error\",\"astro/jsx-a11y/control-has-associated-label\":\"error\",\"astro/jsx-a11y/heading-has-content\":\"error\",\"astro/jsx-a11y/html-has-lang\":\"error\",\"astro/jsx-a11y/iframe-has-title\":\"error\",\"astro/jsx-a11y/img-redundant-alt\":\"error\",\"astro/jsx-a11y/interactive-supports-focus\":\"error\",\"astro/jsx-a11y/label-has-associated-control\":\"error\",\"astro/jsx-a11y/lang\":\"error\",\"astro/jsx-a11y/media-has-caption\":\"error\",\"astro/jsx-a11y/mouse-events-have-key-events\":\"error\",\"astro/jsx-a11y/no-access-key\":\"error\",\"astro/jsx-a11y/no-aria-hidden-on-focusable\":\"error\",\"astro/jsx-a11y/no-autofocus\":\"error\",\"astro/jsx-a11y/no-distracting-elements\":\"error\",\"astro/jsx-a11y/no-interactive-element-to-noninteractive-role\":\"error\",\"astro/jsx-a11y/no-noninteractive-element-interactions\":\"error\",\"astro/jsx-a11y/no-noninteractive-element-to-interactive-role\":\"error\",\"astro/jsx-a11y/no-noninteractive-tabindex\":\"error\",\"astro/jsx-a11y/no-redundant-roles\":\"error\",\"astro/jsx-a11y/no-static-element-interactions\":\"error\",\"astro/jsx-a11y/prefer-tag-over-role\":\"error\",\"astro/jsx-a11y/role-has-required-aria-props\":\"error\",\"astro/jsx-a11y/role-supports-aria-props\":\"error\",\"astro/jsx-a11y/scope\":\"error\",\"astro/jsx-a11y/tabindex-no-positive\":\"error\",\"astro/missing-client-only-directive-value\":\"error\",\"astro/no-conflict-set-directives\":\"error\",\"astro/no-deprecated-astro-canonicalurl\":\"error\",\"astro/no-deprecated-astro-fetchcontent\":\"error\",\"astro/no-deprecated-astro-resolve\":\"error\",\"astro/no-deprecated-getentrybyslug\":\"error\",\"astro/no-exports-from-components\":\"error\",\"astro/no-set-html-directive\":\"off\",\"astro/no-set-text-directive\":\"error\",\"astro/no-unused-css-selector\":\"error\",\"astro/no-unused-define-vars-in-style\":\"error\",\"astro/prefer-class-list-directive\":\"error\",\"astro/prefer-object-class-list\":\"error\",\"astro/prefer-split-class-list\":\"error\",\"astro/semi\":\"error\",\"astro/sort-attributes\":\"error\",\"astro/valid-compile\":\"error\"\n },\n },\n );\n"],"mappings":"+CAEA,OAAOA,MAAW,sBAClB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,cAAc,EAC1B,QAAAE,EACA,gBAAAC,EACI,QAAS,CACP,MAASJ,CACX,EACA,MAAO,CACL,0BAA0B,QAAQ,uCAAuC,QAAQ,oCAAoC,QAAQ,iCAAiC,QAAQ,oDAAoD,QAAQ,4BAA4B,QAAQ,gCAAgC,QAAQ,2BAA2B,QAAQ,2CAA2C,QAAQ,oCAAoC,QAAQ,8CAA8C,QAAQ,8CAA8C,QAAQ,qCAAqC,QAAQ,+BAA+B,QAAQ,kCAAkC,QAAQ,mCAAmC,QAAQ,4CAA4C,QAAQ,8CAA8C,QAAQ,sBAAsB,QAAQ,mCAAmC,QAAQ,8CAA8C,QAAQ,+BAA+B,QAAQ,6CAA6C,QAAQ,8BAA8B,QAAQ,yCAAyC,QAAQ,+DAA+D,QAAQ,wDAAwD,QAAQ,+DAA+D,QAAQ,4CAA4C,QAAQ,oCAAoC,QAAQ,gDAAgD,QAAQ,sCAAsC,QAAQ,8CAA8C,QAAQ,0CAA0C,QAAQ,uBAAuB,QAAQ,sCAAsC,QAAQ,4CAA4C,QAAQ,mCAAmC,QAAQ,yCAAyC,QAAQ,yCAAyC,QAAQ,oCAAoC,QAAQ,qCAAqC,QAAQ,mCAAmC,QAAQ,8BAA8B,MAAM,8BAA8B,QAAQ,+BAA+B,QAAQ,uCAAuC,QAAQ,oCAAoC,QAAQ,iCAAiC,QAAQ,gCAAgC,QAAQ,aAAa,QAAQ,wBAAwB,QAAQ,sBAAsB,OACz1E,CACF,
|
|
1
|
+
{"version":3,"sources":["../src/config.astro.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport astro from \"eslint-plugin-astro\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{astro}\"],\nignores,\nlanguageOptions,\n plugins: {\n \"astro\": astro,\n },\n rules: {\n \"astro/jsx-a11y/alt-text\":\"error\",\"astro/jsx-a11y/anchor-ambiguous-text\":\"error\",\"astro/jsx-a11y/anchor-has-content\":\"error\",\"astro/jsx-a11y/anchor-is-valid\":\"error\",\"astro/jsx-a11y/aria-activedescendant-has-tabindex\":\"error\",\"astro/jsx-a11y/aria-props\":\"error\",\"astro/jsx-a11y/aria-proptypes\":\"error\",\"astro/jsx-a11y/aria-role\":\"error\",\"astro/jsx-a11y/aria-unsupported-elements\":\"error\",\"astro/jsx-a11y/autocomplete-valid\":\"error\",\"astro/jsx-a11y/click-events-have-key-events\":\"error\",\"astro/jsx-a11y/control-has-associated-label\":\"error\",\"astro/jsx-a11y/heading-has-content\":\"error\",\"astro/jsx-a11y/html-has-lang\":\"error\",\"astro/jsx-a11y/iframe-has-title\":\"error\",\"astro/jsx-a11y/img-redundant-alt\":\"error\",\"astro/jsx-a11y/interactive-supports-focus\":\"error\",\"astro/jsx-a11y/label-has-associated-control\":\"error\",\"astro/jsx-a11y/lang\":\"error\",\"astro/jsx-a11y/media-has-caption\":\"error\",\"astro/jsx-a11y/mouse-events-have-key-events\":\"error\",\"astro/jsx-a11y/no-access-key\":\"error\",\"astro/jsx-a11y/no-aria-hidden-on-focusable\":\"error\",\"astro/jsx-a11y/no-autofocus\":\"error\",\"astro/jsx-a11y/no-distracting-elements\":\"error\",\"astro/jsx-a11y/no-interactive-element-to-noninteractive-role\":\"error\",\"astro/jsx-a11y/no-noninteractive-element-interactions\":\"error\",\"astro/jsx-a11y/no-noninteractive-element-to-interactive-role\":\"error\",\"astro/jsx-a11y/no-noninteractive-tabindex\":\"error\",\"astro/jsx-a11y/no-redundant-roles\":\"error\",\"astro/jsx-a11y/no-static-element-interactions\":\"error\",\"astro/jsx-a11y/prefer-tag-over-role\":\"error\",\"astro/jsx-a11y/role-has-required-aria-props\":\"error\",\"astro/jsx-a11y/role-supports-aria-props\":\"error\",\"astro/jsx-a11y/scope\":\"error\",\"astro/jsx-a11y/tabindex-no-positive\":\"error\",\"astro/missing-client-only-directive-value\":\"error\",\"astro/no-conflict-set-directives\":\"error\",\"astro/no-deprecated-astro-canonicalurl\":\"error\",\"astro/no-deprecated-astro-fetchcontent\":\"error\",\"astro/no-deprecated-astro-resolve\":\"error\",\"astro/no-deprecated-getentrybyslug\":\"error\",\"astro/no-exports-from-components\":\"error\",\"astro/no-set-html-directive\":\"off\",\"astro/no-set-text-directive\":\"error\",\"astro/no-unused-css-selector\":\"error\",\"astro/no-unused-define-vars-in-style\":\"error\",\"astro/prefer-class-list-directive\":\"error\",\"astro/prefer-object-class-list\":\"error\",\"astro/prefer-split-class-list\":\"error\",\"astro/semi\":\"error\",\"astro/sort-attributes\":\"error\",\"astro/valid-compile\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAW,sBAClB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,cAAc,EAC1B,QAAAE,EACA,gBAAAC,EACI,QAAS,CACP,MAASJ,CACX,EACA,MAAO,CACL,0BAA0B,QAAQ,uCAAuC,QAAQ,oCAAoC,QAAQ,iCAAiC,QAAQ,oDAAoD,QAAQ,4BAA4B,QAAQ,gCAAgC,QAAQ,2BAA2B,QAAQ,2CAA2C,QAAQ,oCAAoC,QAAQ,8CAA8C,QAAQ,8CAA8C,QAAQ,qCAAqC,QAAQ,+BAA+B,QAAQ,kCAAkC,QAAQ,mCAAmC,QAAQ,4CAA4C,QAAQ,8CAA8C,QAAQ,sBAAsB,QAAQ,mCAAmC,QAAQ,8CAA8C,QAAQ,+BAA+B,QAAQ,6CAA6C,QAAQ,8BAA8B,QAAQ,yCAAyC,QAAQ,+DAA+D,QAAQ,wDAAwD,QAAQ,+DAA+D,QAAQ,4CAA4C,QAAQ,oCAAoC,QAAQ,gDAAgD,QAAQ,sCAAsC,QAAQ,8CAA8C,QAAQ,0CAA0C,QAAQ,uBAAuB,QAAQ,sCAAsC,QAAQ,4CAA4C,QAAQ,mCAAmC,QAAQ,yCAAyC,QAAQ,yCAAyC,QAAQ,oCAAoC,QAAQ,qCAAqC,QAAQ,mCAAmC,QAAQ,8BAA8B,MAAM,8BAA8B,QAAQ,+BAA+B,QAAQ,uCAAuC,QAAQ,oCAAoC,QAAQ,iCAAiC,QAAQ,gCAAgC,QAAQ,aAAa,QAAQ,wBAAwB,QAAQ,sBAAsB,OACz1E,CACF,CAGA","names":["astro","tseslint","config_astro_default","ignores","languageOptions"]}
|
package/config.react.js
CHANGED
|
@@ -1,108 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import t from "eslint-plugin-react-compiler";
|
|
4
|
-
import n from "eslint-plugin-react-hooks";
|
|
5
|
-
import a from "typescript-eslint";
|
|
6
|
-
var l = a.config({
|
|
7
|
-
files: ["**/*.{jsx,tsx}"],
|
|
8
|
-
ignores: r,
|
|
9
|
-
languageOptions: e,
|
|
10
|
-
settings: { react: { version: "19.0.0" } },
|
|
11
|
-
plugins: { react: o, "react-hooks": n, "react-compiler": t },
|
|
12
|
-
rules: {
|
|
13
|
-
"react/avoid-shorthand-boolean": "off",
|
|
14
|
-
"react/avoid-shorthand-fragment": "off",
|
|
15
|
-
"react/debug/class-component": "off",
|
|
16
|
-
"react/debug/function-component": "off",
|
|
17
|
-
"react/debug/hook": "off",
|
|
18
|
-
"react/debug/is-from-react": "off",
|
|
19
|
-
"react/debug/react-hooks": "off",
|
|
20
|
-
"react/dom/no-children-in-void-dom-elements": "error",
|
|
21
|
-
"react/dom/no-dangerously-set-innerhtml": "error",
|
|
22
|
-
"react/dom/no-dangerously-set-innerhtml-with-children": "error",
|
|
23
|
-
"react/dom/no-find-dom-node": "error",
|
|
24
|
-
"react/dom/no-missing-button-type": "error",
|
|
25
|
-
"react/dom/no-missing-iframe-sandbox": "error",
|
|
26
|
-
"react/dom/no-namespace": "error",
|
|
27
|
-
"react/dom/no-render-return-value": "error",
|
|
28
|
-
"react/dom/no-script-url": "error",
|
|
29
|
-
"react/dom/no-unknown-property": "error",
|
|
30
|
-
"react/dom/no-unsafe-iframe-sandbox": "error",
|
|
31
|
-
"react/dom/no-unsafe-target-blank": "error",
|
|
32
|
-
"react/dom/no-void-elements-with-children": "error",
|
|
33
|
-
"react/ensure-forward-ref-using-ref": "error",
|
|
34
|
-
"react/hooks-extra/ensure-custom-hooks-using-other-hooks": "error",
|
|
35
|
-
"react/hooks-extra/ensure-use-callback-has-non-empty-deps": "error",
|
|
36
|
-
"react/hooks-extra/ensure-use-memo-has-non-empty-deps": "error",
|
|
37
|
-
"react/hooks-extra/no-direct-set-state-in-use-effect": "error",
|
|
38
|
-
"react/hooks-extra/no-direct-set-state-in-use-layout-effect": "error",
|
|
39
|
-
"react/hooks-extra/no-redundant-custom-hook": "error",
|
|
40
|
-
"react/hooks-extra/no-unnecessary-use-callback": "error",
|
|
41
|
-
"react/hooks-extra/no-unnecessary-use-memo": "error",
|
|
42
|
-
"react/hooks-extra/no-useless-custom-hooks": "error",
|
|
43
|
-
"react/hooks-extra/prefer-use-state-lazy-initialization": "error",
|
|
44
|
-
"react/jsx-no-duplicate-props": "error",
|
|
45
|
-
"react/jsx-uses-vars": "error",
|
|
46
|
-
"react/naming-convention/component-name": "error",
|
|
47
|
-
"react/naming-convention/filename": ["error", { rule: "kebab-case" }],
|
|
48
|
-
"react/naming-convention/filename-extension": "error",
|
|
49
|
-
"react/naming-convention/use-state": "error",
|
|
50
|
-
"react/no-access-state-in-setstate": "error",
|
|
51
|
-
"react/no-array-index-key": "error",
|
|
52
|
-
"react/no-children-count": "error",
|
|
53
|
-
"react/no-children-for-each": "error",
|
|
54
|
-
"react/no-children-map": "error",
|
|
55
|
-
"react/no-children-only": "error",
|
|
56
|
-
"react/no-children-prop": "error",
|
|
57
|
-
"react/no-children-to-array": "error",
|
|
58
|
-
"react/no-class-component": "error",
|
|
59
|
-
"react/no-clone-element": "error",
|
|
60
|
-
"react/no-comment-textnodes": "error",
|
|
61
|
-
"react/no-complex-conditional-rendering": "error",
|
|
62
|
-
"react/no-complicated-conditional-rendering": "error",
|
|
63
|
-
"react/no-component-will-mount": "error",
|
|
64
|
-
"react/no-component-will-receive-props": "error",
|
|
65
|
-
"react/no-component-will-update": "error",
|
|
66
|
-
"react/no-context-provider": "error",
|
|
67
|
-
"react/no-create-ref": "error",
|
|
68
|
-
"react/no-default-props": "error",
|
|
69
|
-
"react/no-direct-mutation-state": "error",
|
|
70
|
-
"react/no-duplicate-jsx-props": "error",
|
|
71
|
-
"react/no-duplicate-key": "error",
|
|
72
|
-
"react/no-forward-ref": "error",
|
|
73
|
-
"react/no-implicit-key": "error",
|
|
74
|
-
"react/no-leaked-conditional-rendering": "error",
|
|
75
|
-
"react/no-missing-component-display-name": "error",
|
|
76
|
-
"react/no-missing-key": "error",
|
|
77
|
-
"react/no-nested-components": "error",
|
|
78
|
-
"react/no-prop-types": "error",
|
|
79
|
-
"react/no-redundant-should-component-update": "error",
|
|
80
|
-
"react/no-set-state-in-component-did-mount": "error",
|
|
81
|
-
"react/no-set-state-in-component-did-update": "error",
|
|
82
|
-
"react/no-set-state-in-component-will-update": "error",
|
|
83
|
-
"react/no-string-refs": "error",
|
|
84
|
-
"react/no-unsafe-component-will-mount": "error",
|
|
85
|
-
"react/no-unsafe-component-will-receive-props": "error",
|
|
86
|
-
"react/no-unsafe-component-will-update": "error",
|
|
87
|
-
"react/no-unstable-context-value": "error",
|
|
88
|
-
"react/no-unstable-default-props": "error",
|
|
89
|
-
"react/no-unused-class-component-members": "error",
|
|
90
|
-
"react/no-unused-state": "error",
|
|
91
|
-
"react/no-useless-fragment": "error",
|
|
92
|
-
"react/prefer-destructuring-assignment": "error",
|
|
93
|
-
"react/prefer-react-namespace-import": "error",
|
|
94
|
-
"react/prefer-read-only-props": "error",
|
|
95
|
-
"react/prefer-shorthand-boolean": "error",
|
|
96
|
-
"react/prefer-shorthand-fragment": "error",
|
|
97
|
-
"react/use-jsx-vars": "error",
|
|
98
|
-
"react/web-api/no-leaked-event-listener": "error",
|
|
99
|
-
"react/web-api/no-leaked-interval": "error",
|
|
100
|
-
"react/web-api/no-leaked-resize-observer": "error",
|
|
101
|
-
"react/web-api/no-leaked-timeout": "error",
|
|
102
|
-
"react-hooks/exhaustive-deps": "error",
|
|
103
|
-
"react-hooks/rules-of-hooks": "error",
|
|
104
|
-
"react-compiler/react-compiler": "error",
|
|
105
|
-
},
|
|
106
|
-
});
|
|
107
|
-
export { l as default };
|
|
108
|
-
//# sourceMappingURL=config.react.js.map
|
|
1
|
+
import{a as r,b as e}from"./chunk-WK3YS7OG.js";import o from"@eslint-react/eslint-plugin";import t from"eslint-plugin-react-compiler";import n from"eslint-plugin-react-hooks";import a from"typescript-eslint";var l=a.config({files:["**/*.{jsx,tsx}"],ignores:r,languageOptions:e,settings:{react:{version:"19.0.0"}},plugins:{react:o,"react-hooks":n,"react-compiler":t},rules:{"react/avoid-shorthand-boolean":"off","react/avoid-shorthand-fragment":"off","react/debug/class-component":"off","react/debug/function-component":"off","react/debug/hook":"off","react/debug/is-from-react":"off","react/debug/react-hooks":"off","react/dom/no-children-in-void-dom-elements":"error","react/dom/no-dangerously-set-innerhtml":"error","react/dom/no-dangerously-set-innerhtml-with-children":"error","react/dom/no-find-dom-node":"error","react/dom/no-missing-button-type":"error","react/dom/no-missing-iframe-sandbox":"error","react/dom/no-namespace":"error","react/dom/no-render-return-value":"error","react/dom/no-script-url":"error","react/dom/no-unknown-property":"error","react/dom/no-unsafe-iframe-sandbox":"error","react/dom/no-unsafe-target-blank":"error","react/dom/no-void-elements-with-children":"error","react/ensure-forward-ref-using-ref":"error","react/hooks-extra/ensure-custom-hooks-using-other-hooks":"error","react/hooks-extra/ensure-use-callback-has-non-empty-deps":"error","react/hooks-extra/ensure-use-memo-has-non-empty-deps":"error","react/hooks-extra/no-direct-set-state-in-use-effect":"error","react/hooks-extra/no-direct-set-state-in-use-layout-effect":"error","react/hooks-extra/no-redundant-custom-hook":"error","react/hooks-extra/no-unnecessary-use-callback":"error","react/hooks-extra/no-unnecessary-use-memo":"error","react/hooks-extra/no-useless-custom-hooks":"error","react/hooks-extra/prefer-use-state-lazy-initialization":"error","react/jsx-no-duplicate-props":"error","react/jsx-uses-vars":"error","react/naming-convention/component-name":"error","react/naming-convention/filename":["error",{rule:"kebab-case"}],"react/naming-convention/filename-extension":"error","react/naming-convention/use-state":"error","react/no-access-state-in-setstate":"error","react/no-array-index-key":"error","react/no-children-count":"error","react/no-children-for-each":"error","react/no-children-map":"error","react/no-children-only":"error","react/no-children-prop":"error","react/no-children-to-array":"error","react/no-class-component":"error","react/no-clone-element":"error","react/no-comment-textnodes":"error","react/no-complex-conditional-rendering":"error","react/no-complicated-conditional-rendering":"error","react/no-component-will-mount":"error","react/no-component-will-receive-props":"error","react/no-component-will-update":"error","react/no-context-provider":"error","react/no-create-ref":"error","react/no-default-props":"error","react/no-direct-mutation-state":"error","react/no-duplicate-jsx-props":"error","react/no-duplicate-key":"error","react/no-forward-ref":"error","react/no-implicit-key":"error","react/no-leaked-conditional-rendering":"error","react/no-missing-component-display-name":"error","react/no-missing-key":"error","react/no-nested-components":"error","react/no-prop-types":"error","react/no-redundant-should-component-update":"error","react/no-set-state-in-component-did-mount":"error","react/no-set-state-in-component-did-update":"error","react/no-set-state-in-component-will-update":"error","react/no-string-refs":"error","react/no-unsafe-component-will-mount":"error","react/no-unsafe-component-will-receive-props":"error","react/no-unsafe-component-will-update":"error","react/no-unstable-context-value":"error","react/no-unstable-default-props":"error","react/no-unused-class-component-members":"error","react/no-unused-state":"error","react/no-useless-fragment":"error","react/prefer-destructuring-assignment":"error","react/prefer-react-namespace-import":"error","react/prefer-read-only-props":"error","react/prefer-shorthand-boolean":"error","react/prefer-shorthand-fragment":"error","react/use-jsx-vars":"error","react/web-api/no-leaked-event-listener":"error","react/web-api/no-leaked-interval":"error","react/web-api/no-leaked-resize-observer":"error","react/web-api/no-leaked-timeout":"error","react-hooks/exhaustive-deps":"error","react-hooks/rules-of-hooks":"error","react-compiler/react-compiler":"error"}});export{l as default};
|
|
2
|
+
//# sourceMappingURL=config.react.js.map
|
package/config.react.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config.react.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport react from \"@eslint-react/eslint-plugin\";\nimport reactCompiler from \"eslint-plugin-react-compiler\";\nimport reactHooks from \"eslint-plugin-react-hooks\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{jsx,tsx}\"],\nignores,\nlanguageOptions,\nsettings: {\n \"react\":{\"version\":\"19.0.0\"}\n},\n plugins: {\n \"react\": react,\"react-hooks\": reactHooks,\"react-compiler\": reactCompiler,\n },\n rules: {\n \"react/avoid-shorthand-boolean\":\"off\",\"react/avoid-shorthand-fragment\":\"off\",\"react/debug/class-component\":\"off\",\"react/debug/function-component\":\"off\",\"react/debug/hook\":\"off\",\"react/debug/is-from-react\":\"off\",\"react/debug/react-hooks\":\"off\",\"react/dom/no-children-in-void-dom-elements\":\"error\",\"react/dom/no-dangerously-set-innerhtml\":\"error\",\"react/dom/no-dangerously-set-innerhtml-with-children\":\"error\",\"react/dom/no-find-dom-node\":\"error\",\"react/dom/no-missing-button-type\":\"error\",\"react/dom/no-missing-iframe-sandbox\":\"error\",\"react/dom/no-namespace\":\"error\",\"react/dom/no-render-return-value\":\"error\",\"react/dom/no-script-url\":\"error\",\"react/dom/no-unknown-property\":\"error\",\"react/dom/no-unsafe-iframe-sandbox\":\"error\",\"react/dom/no-unsafe-target-blank\":\"error\",\"react/dom/no-void-elements-with-children\":\"error\",\"react/ensure-forward-ref-using-ref\":\"error\",\"react/hooks-extra/ensure-custom-hooks-using-other-hooks\":\"error\",\"react/hooks-extra/ensure-use-callback-has-non-empty-deps\":\"error\",\"react/hooks-extra/ensure-use-memo-has-non-empty-deps\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-effect\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-layout-effect\":\"error\",\"react/hooks-extra/no-redundant-custom-hook\":\"error\",\"react/hooks-extra/no-unnecessary-use-callback\":\"error\",\"react/hooks-extra/no-unnecessary-use-memo\":\"error\",\"react/hooks-extra/no-useless-custom-hooks\":\"error\",\"react/hooks-extra/prefer-use-state-lazy-initialization\":\"error\",\"react/jsx-no-duplicate-props\":\"error\",\"react/jsx-uses-vars\":\"error\",\"react/naming-convention/component-name\":\"error\",\"react/naming-convention/filename\":[\"error\",{\"rule\":\"kebab-case\"}],\"react/naming-convention/filename-extension\":\"error\",\"react/naming-convention/use-state\":\"error\",\"react/no-access-state-in-setstate\":\"error\",\"react/no-array-index-key\":\"error\",\"react/no-children-count\":\"error\",\"react/no-children-for-each\":\"error\",\"react/no-children-map\":\"error\",\"react/no-children-only\":\"error\",\"react/no-children-prop\":\"error\",\"react/no-children-to-array\":\"error\",\"react/no-class-component\":\"error\",\"react/no-clone-element\":\"error\",\"react/no-comment-textnodes\":\"error\",\"react/no-complex-conditional-rendering\":\"error\",\"react/no-complicated-conditional-rendering\":\"error\",\"react/no-component-will-mount\":\"error\",\"react/no-component-will-receive-props\":\"error\",\"react/no-component-will-update\":\"error\",\"react/no-context-provider\":\"error\",\"react/no-create-ref\":\"error\",\"react/no-default-props\":\"error\",\"react/no-direct-mutation-state\":\"error\",\"react/no-duplicate-jsx-props\":\"error\",\"react/no-duplicate-key\":\"error\",\"react/no-forward-ref\":\"error\",\"react/no-implicit-key\":\"error\",\"react/no-leaked-conditional-rendering\":\"error\",\"react/no-missing-component-display-name\":\"error\",\"react/no-missing-key\":\"error\",\"react/no-nested-components\":\"error\",\"react/no-prop-types\":\"error\",\"react/no-redundant-should-component-update\":\"error\",\"react/no-set-state-in-component-did-mount\":\"error\",\"react/no-set-state-in-component-did-update\":\"error\",\"react/no-set-state-in-component-will-update\":\"error\",\"react/no-string-refs\":\"error\",\"react/no-unsafe-component-will-mount\":\"error\",\"react/no-unsafe-component-will-receive-props\":\"error\",\"react/no-unsafe-component-will-update\":\"error\",\"react/no-unstable-context-value\":\"error\",\"react/no-unstable-default-props\":\"error\",\"react/no-unused-class-component-members\":\"error\",\"react/no-unused-state\":\"error\",\"react/no-useless-fragment\":\"error\",\"react/prefer-destructuring-assignment\":\"error\",\"react/prefer-react-namespace-import\":\"error\",\"react/prefer-read-only-props\":\"error\",\"react/prefer-shorthand-boolean\":\"error\",\"react/prefer-shorthand-fragment\":\"error\",\"react/use-jsx-vars\":\"error\",\"react/web-api/no-leaked-event-listener\":\"error\",\"react/web-api/no-leaked-interval\":\"error\",\"react/web-api/no-leaked-resize-observer\":\"error\",\"react/web-api/no-leaked-timeout\":\"error\",\"react-hooks/exhaustive-deps\":\"error\",\"react-hooks/rules-of-hooks\":\"error\",\"react-compiler/react-compiler\":\"error\"\n },\n },\n );\n"],"mappings":"+CAEA,OAAOA,MAAW,8BAClB,OAAOC,MAAmB,+BAC1B,OAAOC,MAAgB,4BACvB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,gBAAgB,EAC5B,QAAAE,EACA,gBAAAC,EACA,SAAU,CACR,MAAQ,CAAC,QAAU,QAAQ,CAC7B,EACI,QAAS,CACP,MAASN,EAAM,cAAeE,EAAW,iBAAkBD,CAC7D,EACA,MAAO,CACL,gCAAgC,MAAM,iCAAiC,MAAM,8BAA8B,MAAM,iCAAiC,MAAM,mBAAmB,MAAM,4BAA4B,MAAM,0BAA0B,MAAM,6CAA6C,QAAQ,yCAAyC,QAAQ,uDAAuD,QAAQ,6BAA6B,QAAQ,mCAAmC,QAAQ,sCAAsC,QAAQ,yBAAyB,QAAQ,mCAAmC,QAAQ,0BAA0B,QAAQ,gCAAgC,QAAQ,qCAAqC,QAAQ,mCAAmC,QAAQ,2CAA2C,QAAQ,qCAAqC,QAAQ,0DAA0D,QAAQ,2DAA2D,QAAQ,uDAAuD,QAAQ,sDAAsD,QAAQ,6DAA6D,QAAQ,6CAA6C,QAAQ,gDAAgD,QAAQ,4CAA4C,QAAQ,4CAA4C,QAAQ,yDAAyD,QAAQ,+BAA+B,QAAQ,sBAAsB,QAAQ,yCAAyC,QAAQ,mCAAmC,CAAC,QAAQ,CAAC,KAAO,YAAY,CAAC,EAAE,6CAA6C,QAAQ,oCAAoC,QAAQ,oCAAoC,QAAQ,2BAA2B,QAAQ,0BAA0B,QAAQ,6BAA6B,QAAQ,wBAAwB,QAAQ,yBAAyB,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,2BAA2B,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,yCAAyC,QAAQ,6CAA6C,QAAQ,gCAAgC,QAAQ,wCAAwC,QAAQ,iCAAiC,QAAQ,4BAA4B,QAAQ,sBAAsB,QAAQ,yBAAyB,QAAQ,iCAAiC,QAAQ,+BAA+B,QAAQ,yBAAyB,QAAQ,uBAAuB,QAAQ,wBAAwB,QAAQ,wCAAwC,QAAQ,0CAA0C,QAAQ,uBAAuB,QAAQ,6BAA6B,QAAQ,sBAAsB,QAAQ,6CAA6C,QAAQ,4CAA4C,QAAQ,6CAA6C,QAAQ,8CAA8C,QAAQ,uBAAuB,QAAQ,uCAAuC,QAAQ,+CAA+C,QAAQ,wCAAwC,QAAQ,kCAAkC,QAAQ,kCAAkC,QAAQ,0CAA0C,QAAQ,wBAAwB,QAAQ,4BAA4B,QAAQ,wCAAwC,QAAQ,sCAAsC,QAAQ,+BAA+B,QAAQ,iCAAiC,QAAQ,kCAAkC,QAAQ,qBAAqB,QAAQ,yCAAyC,QAAQ,mCAAmC,QAAQ,0CAA0C,QAAQ,kCAAkC,QAAQ,8BAA8B,QAAQ,6BAA6B,QAAQ,gCAAgC,OAC54H,CACF,
|
|
1
|
+
{"version":3,"sources":["../src/config.react.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport react from \"@eslint-react/eslint-plugin\";\nimport reactCompiler from \"eslint-plugin-react-compiler\";\nimport reactHooks from \"eslint-plugin-react-hooks\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{jsx,tsx}\"],\nignores,\nlanguageOptions,\nsettings: {\n \"react\":{\"version\":\"19.0.0\"}\n},\n plugins: {\n \"react\": react,\"react-hooks\": reactHooks,\"react-compiler\": reactCompiler,\n },\n rules: {\n \"react/avoid-shorthand-boolean\":\"off\",\"react/avoid-shorthand-fragment\":\"off\",\"react/debug/class-component\":\"off\",\"react/debug/function-component\":\"off\",\"react/debug/hook\":\"off\",\"react/debug/is-from-react\":\"off\",\"react/debug/react-hooks\":\"off\",\"react/dom/no-children-in-void-dom-elements\":\"error\",\"react/dom/no-dangerously-set-innerhtml\":\"error\",\"react/dom/no-dangerously-set-innerhtml-with-children\":\"error\",\"react/dom/no-find-dom-node\":\"error\",\"react/dom/no-missing-button-type\":\"error\",\"react/dom/no-missing-iframe-sandbox\":\"error\",\"react/dom/no-namespace\":\"error\",\"react/dom/no-render-return-value\":\"error\",\"react/dom/no-script-url\":\"error\",\"react/dom/no-unknown-property\":\"error\",\"react/dom/no-unsafe-iframe-sandbox\":\"error\",\"react/dom/no-unsafe-target-blank\":\"error\",\"react/dom/no-void-elements-with-children\":\"error\",\"react/ensure-forward-ref-using-ref\":\"error\",\"react/hooks-extra/ensure-custom-hooks-using-other-hooks\":\"error\",\"react/hooks-extra/ensure-use-callback-has-non-empty-deps\":\"error\",\"react/hooks-extra/ensure-use-memo-has-non-empty-deps\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-effect\":\"error\",\"react/hooks-extra/no-direct-set-state-in-use-layout-effect\":\"error\",\"react/hooks-extra/no-redundant-custom-hook\":\"error\",\"react/hooks-extra/no-unnecessary-use-callback\":\"error\",\"react/hooks-extra/no-unnecessary-use-memo\":\"error\",\"react/hooks-extra/no-useless-custom-hooks\":\"error\",\"react/hooks-extra/prefer-use-state-lazy-initialization\":\"error\",\"react/jsx-no-duplicate-props\":\"error\",\"react/jsx-uses-vars\":\"error\",\"react/naming-convention/component-name\":\"error\",\"react/naming-convention/filename\":[\"error\",{\"rule\":\"kebab-case\"}],\"react/naming-convention/filename-extension\":\"error\",\"react/naming-convention/use-state\":\"error\",\"react/no-access-state-in-setstate\":\"error\",\"react/no-array-index-key\":\"error\",\"react/no-children-count\":\"error\",\"react/no-children-for-each\":\"error\",\"react/no-children-map\":\"error\",\"react/no-children-only\":\"error\",\"react/no-children-prop\":\"error\",\"react/no-children-to-array\":\"error\",\"react/no-class-component\":\"error\",\"react/no-clone-element\":\"error\",\"react/no-comment-textnodes\":\"error\",\"react/no-complex-conditional-rendering\":\"error\",\"react/no-complicated-conditional-rendering\":\"error\",\"react/no-component-will-mount\":\"error\",\"react/no-component-will-receive-props\":\"error\",\"react/no-component-will-update\":\"error\",\"react/no-context-provider\":\"error\",\"react/no-create-ref\":\"error\",\"react/no-default-props\":\"error\",\"react/no-direct-mutation-state\":\"error\",\"react/no-duplicate-jsx-props\":\"error\",\"react/no-duplicate-key\":\"error\",\"react/no-forward-ref\":\"error\",\"react/no-implicit-key\":\"error\",\"react/no-leaked-conditional-rendering\":\"error\",\"react/no-missing-component-display-name\":\"error\",\"react/no-missing-key\":\"error\",\"react/no-nested-components\":\"error\",\"react/no-prop-types\":\"error\",\"react/no-redundant-should-component-update\":\"error\",\"react/no-set-state-in-component-did-mount\":\"error\",\"react/no-set-state-in-component-did-update\":\"error\",\"react/no-set-state-in-component-will-update\":\"error\",\"react/no-string-refs\":\"error\",\"react/no-unsafe-component-will-mount\":\"error\",\"react/no-unsafe-component-will-receive-props\":\"error\",\"react/no-unsafe-component-will-update\":\"error\",\"react/no-unstable-context-value\":\"error\",\"react/no-unstable-default-props\":\"error\",\"react/no-unused-class-component-members\":\"error\",\"react/no-unused-state\":\"error\",\"react/no-useless-fragment\":\"error\",\"react/prefer-destructuring-assignment\":\"error\",\"react/prefer-react-namespace-import\":\"error\",\"react/prefer-read-only-props\":\"error\",\"react/prefer-shorthand-boolean\":\"error\",\"react/prefer-shorthand-fragment\":\"error\",\"react/use-jsx-vars\":\"error\",\"react/web-api/no-leaked-event-listener\":\"error\",\"react/web-api/no-leaked-interval\":\"error\",\"react/web-api/no-leaked-resize-observer\":\"error\",\"react/web-api/no-leaked-timeout\":\"error\",\"react-hooks/exhaustive-deps\":\"error\",\"react-hooks/rules-of-hooks\":\"error\",\"react-compiler/react-compiler\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAW,8BAClB,OAAOC,MAAmB,+BAC1B,OAAOC,MAAgB,4BACvB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,gBAAgB,EAC5B,QAAAE,EACA,gBAAAC,EACA,SAAU,CACR,MAAQ,CAAC,QAAU,QAAQ,CAC7B,EACI,QAAS,CACP,MAASN,EAAM,cAAeE,EAAW,iBAAkBD,CAC7D,EACA,MAAO,CACL,gCAAgC,MAAM,iCAAiC,MAAM,8BAA8B,MAAM,iCAAiC,MAAM,mBAAmB,MAAM,4BAA4B,MAAM,0BAA0B,MAAM,6CAA6C,QAAQ,yCAAyC,QAAQ,uDAAuD,QAAQ,6BAA6B,QAAQ,mCAAmC,QAAQ,sCAAsC,QAAQ,yBAAyB,QAAQ,mCAAmC,QAAQ,0BAA0B,QAAQ,gCAAgC,QAAQ,qCAAqC,QAAQ,mCAAmC,QAAQ,2CAA2C,QAAQ,qCAAqC,QAAQ,0DAA0D,QAAQ,2DAA2D,QAAQ,uDAAuD,QAAQ,sDAAsD,QAAQ,6DAA6D,QAAQ,6CAA6C,QAAQ,gDAAgD,QAAQ,4CAA4C,QAAQ,4CAA4C,QAAQ,yDAAyD,QAAQ,+BAA+B,QAAQ,sBAAsB,QAAQ,yCAAyC,QAAQ,mCAAmC,CAAC,QAAQ,CAAC,KAAO,YAAY,CAAC,EAAE,6CAA6C,QAAQ,oCAAoC,QAAQ,oCAAoC,QAAQ,2BAA2B,QAAQ,0BAA0B,QAAQ,6BAA6B,QAAQ,wBAAwB,QAAQ,yBAAyB,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,2BAA2B,QAAQ,yBAAyB,QAAQ,6BAA6B,QAAQ,yCAAyC,QAAQ,6CAA6C,QAAQ,gCAAgC,QAAQ,wCAAwC,QAAQ,iCAAiC,QAAQ,4BAA4B,QAAQ,sBAAsB,QAAQ,yBAAyB,QAAQ,iCAAiC,QAAQ,+BAA+B,QAAQ,yBAAyB,QAAQ,uBAAuB,QAAQ,wBAAwB,QAAQ,wCAAwC,QAAQ,0CAA0C,QAAQ,uBAAuB,QAAQ,6BAA6B,QAAQ,sBAAsB,QAAQ,6CAA6C,QAAQ,4CAA4C,QAAQ,6CAA6C,QAAQ,8CAA8C,QAAQ,uBAAuB,QAAQ,uCAAuC,QAAQ,+CAA+C,QAAQ,wCAAwC,QAAQ,kCAAkC,QAAQ,kCAAkC,QAAQ,0CAA0C,QAAQ,wBAAwB,QAAQ,4BAA4B,QAAQ,wCAAwC,QAAQ,sCAAsC,QAAQ,+BAA+B,QAAQ,iCAAiC,QAAQ,kCAAkC,QAAQ,qBAAqB,QAAQ,yCAAyC,QAAQ,mCAAmC,QAAQ,0CAA0C,QAAQ,kCAAkC,QAAQ,8BAA8B,QAAQ,6BAA6B,QAAQ,gCAAgC,OAC54H,CACF,CAGA","names":["react","reactCompiler","reactHooks","tseslint","config_react_default","ignores","languageOptions"]}
|
package/config.solid.js
CHANGED
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import e from "typescript-eslint";
|
|
4
|
-
var d = e.config({
|
|
5
|
-
files: ["**/*.{jsx,tsx}"],
|
|
6
|
-
ignores: r,
|
|
7
|
-
languageOptions: o,
|
|
8
|
-
plugins: { solid: s },
|
|
9
|
-
rules: {
|
|
10
|
-
"solid/components-return-once": "error",
|
|
11
|
-
"solid/event-handlers": "error",
|
|
12
|
-
"solid/imports": "error",
|
|
13
|
-
"solid/jsx-no-duplicate-props": "error",
|
|
14
|
-
"solid/jsx-no-script-url": "error",
|
|
15
|
-
"solid/jsx-no-undef": "error",
|
|
16
|
-
"solid/jsx-uses-vars": "error",
|
|
17
|
-
"solid/no-array-handlers": "error",
|
|
18
|
-
"solid/no-destructure": "error",
|
|
19
|
-
"solid/no-innerhtml": "error",
|
|
20
|
-
"solid/no-proxy-apis": "off",
|
|
21
|
-
"solid/no-react-deps": "error",
|
|
22
|
-
"solid/no-react-specific-props": "error",
|
|
23
|
-
"solid/no-unknown-namespaces": "error",
|
|
24
|
-
"solid/prefer-for": "error",
|
|
25
|
-
"solid/prefer-show": "error",
|
|
26
|
-
"solid/reactivity": "error",
|
|
27
|
-
"solid/self-closing-comp": "error",
|
|
28
|
-
"solid/style-prop": "error",
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
export { d as default };
|
|
32
|
-
//# sourceMappingURL=config.solid.js.map
|
|
1
|
+
import{a as r,b as o}from"./chunk-WK3YS7OG.js";import s from"eslint-plugin-solid";import e from"typescript-eslint";var d=e.config({files:["**/*.{jsx,tsx}"],ignores:r,languageOptions:o,plugins:{solid:s},rules:{"solid/components-return-once":"error","solid/event-handlers":"error","solid/imports":"error","solid/jsx-no-duplicate-props":"error","solid/jsx-no-script-url":"error","solid/jsx-no-undef":"error","solid/jsx-uses-vars":"error","solid/no-array-handlers":"error","solid/no-destructure":"error","solid/no-innerhtml":"error","solid/no-proxy-apis":"off","solid/no-react-deps":"error","solid/no-react-specific-props":"error","solid/no-unknown-namespaces":"error","solid/prefer-for":"error","solid/prefer-show":"error","solid/reactivity":"error","solid/self-closing-comp":"error","solid/style-prop":"error"}});export{d as default};
|
|
2
|
+
//# sourceMappingURL=config.solid.js.map
|
package/config.solid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config.solid.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport solid from \"eslint-plugin-solid\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{jsx,tsx}\"],\nignores,\nlanguageOptions,\n plugins: {\n \"solid\": solid,\n },\n rules: {\n \"solid/components-return-once\":\"error\",\"solid/event-handlers\":\"error\",\"solid/imports\":\"error\",\"solid/jsx-no-duplicate-props\":\"error\",\"solid/jsx-no-script-url\":\"error\",\"solid/jsx-no-undef\":\"error\",\"solid/jsx-uses-vars\":\"error\",\"solid/no-array-handlers\":\"error\",\"solid/no-destructure\":\"error\",\"solid/no-innerhtml\":\"error\",\"solid/no-proxy-apis\":\"off\",\"solid/no-react-deps\":\"error\",\"solid/no-react-specific-props\":\"error\",\"solid/no-unknown-namespaces\":\"error\",\"solid/prefer-for\":\"error\",\"solid/prefer-show\":\"error\",\"solid/reactivity\":\"error\",\"solid/self-closing-comp\":\"error\",\"solid/style-prop\":\"error\"\n },\n },\n );\n"],"mappings":"+CAEA,OAAOA,MAAW,sBAClB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,gBAAgB,EAC5B,QAAAE,EACA,gBAAAC,EACI,QAAS,CACP,MAASJ,CACX,EACA,MAAO,CACL,+BAA+B,QAAQ,uBAAuB,QAAQ,gBAAgB,QAAQ,+BAA+B,QAAQ,0BAA0B,QAAQ,qBAAqB,QAAQ,sBAAsB,QAAQ,0BAA0B,QAAQ,uBAAuB,QAAQ,qBAAqB,QAAQ,sBAAsB,MAAM,sBAAsB,QAAQ,gCAAgC,QAAQ,8BAA8B,QAAQ,mBAAmB,QAAQ,oBAAoB,QAAQ,mBAAmB,QAAQ,0BAA0B,QAAQ,mBAAmB,OACjlB,CACF,
|
|
1
|
+
{"version":3,"sources":["../src/config.solid.js"],"sourcesContent":["// @ts-nocheck\nimport { ignores, languageOptions } from \"./constants.js\";\nimport solid from \"eslint-plugin-solid\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n files: [\"**/*.{jsx,tsx}\"],\nignores,\nlanguageOptions,\n plugins: {\n \"solid\": solid,\n },\n rules: {\n \"solid/components-return-once\":\"error\",\"solid/event-handlers\":\"error\",\"solid/imports\":\"error\",\"solid/jsx-no-duplicate-props\":\"error\",\"solid/jsx-no-script-url\":\"error\",\"solid/jsx-no-undef\":\"error\",\"solid/jsx-uses-vars\":\"error\",\"solid/no-array-handlers\":\"error\",\"solid/no-destructure\":\"error\",\"solid/no-innerhtml\":\"error\",\"solid/no-proxy-apis\":\"off\",\"solid/no-react-deps\":\"error\",\"solid/no-react-specific-props\":\"error\",\"solid/no-unknown-namespaces\":\"error\",\"solid/prefer-for\":\"error\",\"solid/prefer-show\":\"error\",\"solid/reactivity\":\"error\",\"solid/self-closing-comp\":\"error\",\"solid/style-prop\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"+CAEA,OAAOA,MAAW,sBAClB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACA,MAAO,CAAC,gBAAgB,EAC5B,QAAAE,EACA,gBAAAC,EACI,QAAS,CACP,MAASJ,CACX,EACA,MAAO,CACL,+BAA+B,QAAQ,uBAAuB,QAAQ,gBAAgB,QAAQ,+BAA+B,QAAQ,0BAA0B,QAAQ,qBAAqB,QAAQ,sBAAsB,QAAQ,0BAA0B,QAAQ,uBAAuB,QAAQ,qBAAqB,QAAQ,sBAAsB,MAAM,sBAAsB,QAAQ,gCAAgC,QAAQ,8BAA8B,QAAQ,mBAAmB,QAAQ,oBAAoB,QAAQ,mBAAmB,QAAQ,0BAA0B,QAAQ,mBAAmB,OACjlB,CACF,CAGA","names":["solid","tseslint","config_solid_default","ignores","languageOptions"]}
|
package/constants.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=constants.js.map
|
|
1
|
+
import{a,b,c}from"./chunk-WK3YS7OG.js";export{c as angularLanguageOptions,a as ignores,b as languageOptions};
|
|
2
|
+
//# sourceMappingURL=constants.js.map
|