@pumpn/eslint-config 17.2.3 → 18.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/_common/_exports.js +5 -0
- package/_common/all-extensions/_exports.js +1 -0
- package/_common/all-extensions/js-extensions.js +10 -0
- package/_common/all-extensions.js +6 -0
- package/_common/convert-extensions-to-glob.js +12 -0
- package/_common/js-jsx-extensions.js +3 -0
- package/_common/ts-extensions.js +10 -0
- package/_common/ts-jsx-extensions.js +3 -0
- package/config/_common/_exports.js +5 -0
- package/config/_common/add-prefix-to-rules.js +13 -0
- package/config/_common/core-json-rules.js +24 -0
- package/config/_common/json-plugins.js +9 -0
- package/config/_common/pick-unicorn-rules-for-language/_exports.js +2 -0
- package/config/_common/pick-unicorn-rules-for-language/pick-rules-for-language.js +52 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/_exports.js +9 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/binary-group-length.js +3 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/hexadecimal-group-length.js +3 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/maximum-nested-calls.js +3 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/number-group-length.js +3 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/octal-group-length.js +3 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/patterns.js +28 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/unicorn-consistency-rules/_exports.js +1 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/unicorn-consistency-rules/consistent-function-style.js +3 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/unicorn-consistency-rules.js +66 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/unicorn-preference-rules.js +199 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn/unicorn-redundancy-rules.js +47 -0
- package/config/_common/pick-unicorn-rules-for-language/unicorn.js +368 -0
- package/config/_common/pick-unicorn-rules-for-language.js +14 -0
- package/config/_exports.js +11 -0
- package/config/converted-globals.js +16 -0
- package/config/css-config/_exports.js +2 -0
- package/config/css-config/css-plugins.js +9 -0
- package/config/css-config/css-rules/_exports.js +1 -0
- package/config/css-config/css-rules/core-css-rules.js +25 -0
- package/config/css-config/css-rules.js +10 -0
- package/config/css-config.js +17 -0
- package/config/default-glob.js +6 -0
- package/config/html-config/_exports.js +2 -0
- package/config/html-config/html-plugins.js +9 -0
- package/config/html-config/html-rules/_exports.js +1 -0
- package/config/html-config/html-rules/core-html-rules/_exports.js +4 -0
- package/config/html-config/html-rules/core-html-rules/core-html-accessibility-rules.js +28 -0
- package/config/html-config/html-rules/core-html-rules/core-html-best-practice-rules.js +42 -0
- package/config/html-config/html-rules/core-html-rules/core-html-seo-rules.js +16 -0
- package/config/html-config/html-rules/core-html-rules/core-html-style-rules.js +23 -0
- package/config/html-config/html-rules/core-html-rules.js +27 -0
- package/config/html-config/html-rules.js +10 -0
- package/config/html-config.js +12 -0
- package/config/json-config/_exports.js +1 -0
- package/config/json-config/json-rules.js +9 -0
- package/config/json-config.js +13 -0
- package/config/jsonc-config/_exports.js +1 -0
- package/config/jsonc-config/jsonc-rules.js +9 -0
- package/config/jsonc-config.js +26 -0
- package/config/jsx-glob/_exports.js +1 -0
- package/config/jsx-glob/jsx-extensions.js +6 -0
- package/config/jsx-glob.js +7 -0
- package/config/md-config/_exports.js +2 -0
- package/config/md-config/md-plugins.js +9 -0
- package/config/md-config/md-rules/_exports.js +1 -0
- package/config/md-config/md-rules/core-md-rules.js +30 -0
- package/config/md-config/md-rules.js +10 -0
- package/config/md-config.js +15 -0
- package/{plugins.js → config/plugins.js} +7 -6
- package/{rules → config/rules}/_common/_exports.js +0 -1
- package/{rules → config/rules}/_exports.js +1 -4
- package/config/rules/better-tailwindcss/correctness.js +13 -0
- package/config/rules/better-tailwindcss/stylistic.js +42 -0
- package/config/rules/better-tailwindcss.js +15 -0
- package/config/rules/command.js +17 -0
- package/config/rules/depend.js +17 -0
- package/config/rules/eslint-comments/best-practices.js +14 -0
- package/config/rules/eslint-comments/stylistic-issues.js +17 -0
- package/config/rules/eslint-comments.js +15 -0
- package/config/rules/import-x/helpful-warnings.js +26 -0
- package/config/rules/import-x/module-systems.js +14 -0
- package/config/rules/import-x/static-analysis.js +40 -0
- package/config/rules/import-x/style-guide/_exports.js +1 -0
- package/config/rules/import-x/style-guide/max-dependencies.js +3 -0
- package/config/rules/import-x/style-guide.js +94 -0
- package/config/rules/import-x.js +22 -0
- package/config/rules/jsdoc.js +464 -0
- package/config/rules/no-secrets/_exports.js +1 -0
- package/config/rules/no-secrets/tolerance.js +3 -0
- package/config/rules/no-secrets.js +30 -0
- package/config/rules/perfectionist.js +331 -0
- package/config/rules/promise.js +53 -0
- package/config/rules/react/core.js +69 -0
- package/config/rules/react/debug.js +14 -0
- package/config/rules/react/dom.js +25 -0
- package/config/rules/react/jsx.js +23 -0
- package/config/rules/react/naming-convention.js +12 -0
- package/config/rules/react/rsc.js +10 -0
- package/config/rules/react/web-api.js +15 -0
- package/config/rules/react.js +28 -0
- package/config/rules/regexp/best-practices.js +47 -0
- package/config/rules/regexp/possible-errors.js +31 -0
- package/config/rules/regexp/stylistic-issues.js +79 -0
- package/config/rules/regexp.js +20 -0
- package/config/rules/security.js +31 -0
- package/config/rules/sonarjs/problem.js +134 -0
- package/config/rules/sonarjs/suggestion.js +167 -0
- package/config/rules/sonarjs.js +15 -0
- package/config/rules/stylistic/_common/_exports.js +1 -0
- package/{rules → config/rules}/stylistic/_exports.js +1 -1
- package/config/rules/stylistic/brackets/_exports.js +2 -0
- package/config/rules/stylistic/brackets/min-elements-for-curly-newline.js +3 -0
- package/config/rules/stylistic/brackets/wrap-multilines-default.js +3 -0
- package/config/rules/stylistic/brackets.js +90 -0
- package/config/rules/stylistic/commas.js +18 -0
- package/config/rules/stylistic/comments.js +13 -0
- package/config/rules/stylistic/disallow.js +36 -0
- package/config/rules/stylistic/indent.js +19 -0
- package/config/rules/stylistic/jsx.js +42 -0
- package/config/rules/stylistic/linebreaks/_exports.js +1 -0
- package/config/rules/stylistic/linebreaks/max-ignored-chain-depth.js +3 -0
- package/config/rules/stylistic/linebreaks.js +67 -0
- package/config/rules/stylistic/misc.js +49 -0
- package/config/rules/stylistic/operators.js +31 -0
- package/config/rules/stylistic/quotes.js +12 -0
- package/config/rules/stylistic/semis.js +19 -0
- package/config/rules/stylistic/spacing.js +68 -0
- package/config/rules/stylistic/types.js +12 -0
- package/config/rules/stylistic.js +40 -0
- package/config/rules/suggestions/_exports.js +9 -0
- package/config/rules/suggestions/max-classes-per-file.js +3 -0
- package/config/rules/suggestions/max-depth.js +3 -0
- package/config/rules/suggestions/max-identifier-length.js +3 -0
- package/config/rules/suggestions/max-lines-per-file.js +3 -0
- package/config/rules/suggestions/max-lines-per-function.js +3 -0
- package/config/rules/suggestions/max-nested-callbacks.js +3 -0
- package/config/rules/suggestions/max-parameters.js +3 -0
- package/config/rules/suggestions/max-statements.js +3 -0
- package/config/rules/suggestions/min-identifier-length.js +3 -0
- package/{rules → config/rules}/suggestions.js +17 -15
- package/config/rules.js +50 -0
- package/config/ts-glob.js +6 -0
- package/config.js +51 -53
- package/package.json +51 -38
- package/.ls-lint.yml +0 -6
- package/.vscode/settings.json +0 -18
- package/deno.json +0 -78
- package/deno.lock +0 -1632
- package/eslint.config.js +0 -25
- package/rules/better-tailwindcss/correctness.js +0 -7
- package/rules/better-tailwindcss/stylistic.js +0 -38
- package/rules/better-tailwindcss.js +0 -19
- package/rules/command.js +0 -12
- package/rules/depend.js +0 -12
- package/rules/eslint-comments/best-practices.js +0 -9
- package/rules/eslint-comments/stylistic-issues.js +0 -12
- package/rules/eslint-comments.js +0 -19
- package/rules/import-x/helpful-warnings.js +0 -21
- package/rules/import-x/module-systems.js +0 -9
- package/rules/import-x/static-analysis.js +0 -35
- package/rules/import-x/style-guide.js +0 -89
- package/rules/import-x.js +0 -19
- package/rules/jsdoc.js +0 -433
- package/rules/no-secrets.js +0 -25
- package/rules/perfectionist.js +0 -318
- package/rules/promise.js +0 -48
- package/rules/react/core.js +0 -59
- package/rules/react/debug.js +0 -6
- package/rules/react/dom.js +0 -15
- package/rules/react/jsx.js +0 -18
- package/rules/react/naming-convention.js +0 -6
- package/rules/react/rsc.js +0 -5
- package/rules/react/web-api.js +0 -10
- package/rules/react.js +0 -19
- package/rules/regexp/best-practices.js +0 -42
- package/rules/regexp/possible-errors.js +0 -26
- package/rules/regexp/stylistic-issues.js +0 -74
- package/rules/regexp.js +0 -19
- package/rules/security.js +0 -25
- package/rules/sonarjs/problem.js +0 -123
- package/rules/sonarjs/suggestion.js +0 -135
- package/rules/sonarjs.js +0 -19
- package/rules/stylistic/_common/_exports.js +0 -3
- package/rules/stylistic/brackets.js +0 -87
- package/rules/stylistic/commas.js +0 -13
- package/rules/stylistic/comments.js +0 -8
- package/rules/stylistic/disallow.js +0 -31
- package/rules/stylistic/indent.js +0 -14
- package/rules/stylistic/jsx.js +0 -37
- package/rules/stylistic/linebreaks.js +0 -63
- package/rules/stylistic/misc.js +0 -45
- package/rules/stylistic/operators.js +0 -26
- package/rules/stylistic/quotes.js +0 -7
- package/rules/stylistic/semis.js +0 -14
- package/rules/stylistic/spacing.js +0 -63
- package/rules/stylistic/types.js +0 -7
- package/rules/stylistic.js +0 -19
- package/rules/unicorn.js +0 -306
- package/rules.js +0 -19
- package/scripts/update-import-map.js +0 -47
- package/scripts/update-package-json.js +0 -66
- package/scripts/update-tsconfig.js +0 -46
- package/tsconfig.json +0 -27
- /package/{rules → config}/_common/tab-width.js +0 -0
- /package/{rules → config/rules}/_common/maximum-line-length.js +0 -0
- /package/{rules → config/rules}/better-tailwindcss/_exports.js +0 -0
- /package/{rules → config/rules}/eslint-comments/_exports.js +0 -0
- /package/{rules → config/rules}/import-x/_exports.js +0 -0
- /package/{rules → config/rules}/layout-and-formatting.js +0 -0
- /package/{rules → config/rules}/possible-problems.js +0 -0
- /package/{rules → config/rules}/react/_exports.js +0 -0
- /package/{rules → config/rules}/regexp/_exports.js +0 -0
- /package/{rules → config/rules}/sonarjs/_exports.js +0 -0
- /package/{rules → config/rules}/stylistic/_common/min-items-for-array-newline.js +0 -0
package/config.js
CHANGED
|
@@ -1,40 +1,25 @@
|
|
|
1
1
|
import * as parser from "@typescript-eslint/parser";
|
|
2
2
|
import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
|
|
3
3
|
import { defineConfig } from "eslint/config";
|
|
4
|
-
import globals from "globals";
|
|
5
4
|
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const typeScriptExtensions = /** @type {const} */ ([
|
|
25
|
-
".ts",
|
|
26
|
-
".tsx",
|
|
27
|
-
".cts",
|
|
28
|
-
".mts"
|
|
29
|
-
]);
|
|
30
|
-
|
|
31
|
-
const allExtensions = /** @type {const} */ ([
|
|
32
|
-
...typeScriptExtensions,
|
|
33
|
-
".js",
|
|
34
|
-
".jsx",
|
|
35
|
-
".cjs",
|
|
36
|
-
".mjs"
|
|
37
|
-
]);
|
|
5
|
+
import {
|
|
6
|
+
allExtensions,
|
|
7
|
+
convertExtensionsToGlob,
|
|
8
|
+
tsExtensions
|
|
9
|
+
} from "./_common/_exports.js";
|
|
10
|
+
import {
|
|
11
|
+
convertedGlobals,
|
|
12
|
+
cssConfig,
|
|
13
|
+
defaultGlob,
|
|
14
|
+
htmlConfig,
|
|
15
|
+
jsoncConfig,
|
|
16
|
+
jsonConfig,
|
|
17
|
+
jsxGlob,
|
|
18
|
+
mdConfig,
|
|
19
|
+
plugins,
|
|
20
|
+
rules,
|
|
21
|
+
tsGlob
|
|
22
|
+
} from "./config/_exports.js";
|
|
38
23
|
|
|
39
24
|
/**
|
|
40
25
|
* This configuration includes settings for various file types, plugins, and rules.
|
|
@@ -42,7 +27,18 @@ const allExtensions = /** @type {const} */ ([
|
|
|
42
27
|
*/
|
|
43
28
|
const config = defineConfig([
|
|
44
29
|
{
|
|
45
|
-
ignores: [
|
|
30
|
+
ignores: [
|
|
31
|
+
"_fresh/**",
|
|
32
|
+
"documentation/**",
|
|
33
|
+
"patches/**",
|
|
34
|
+
"**/package-lock.json"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
linterOptions: {
|
|
39
|
+
noInlineConfig: false,
|
|
40
|
+
reportUnusedDisableDirectives: "error"
|
|
41
|
+
}
|
|
46
42
|
},
|
|
47
43
|
{
|
|
48
44
|
files: [defaultGlob],
|
|
@@ -67,10 +63,6 @@ const config = defineConfig([
|
|
|
67
63
|
},
|
|
68
64
|
sourceType: "module"
|
|
69
65
|
},
|
|
70
|
-
linterOptions: {
|
|
71
|
-
noInlineConfig: false,
|
|
72
|
-
reportUnusedDisableDirectives: "error"
|
|
73
|
-
},
|
|
74
66
|
plugins,
|
|
75
67
|
rules,
|
|
76
68
|
settings: {
|
|
@@ -82,7 +74,7 @@ const config = defineConfig([
|
|
|
82
74
|
"import-x/extensions": allExtensions,
|
|
83
75
|
"import-x/external-module-folders": ["node_modules", "node_modules/@types"],
|
|
84
76
|
"import-x/parsers": {
|
|
85
|
-
"@typescript-eslint/parser": [...
|
|
77
|
+
"@typescript-eslint/parser": [...tsExtensions]
|
|
86
78
|
},
|
|
87
79
|
"import-x/resolver-next": [
|
|
88
80
|
createTypeScriptImportResolver({
|
|
@@ -124,7 +116,7 @@ const config = defineConfig([
|
|
|
124
116
|
}
|
|
125
117
|
},
|
|
126
118
|
{
|
|
127
|
-
files: [
|
|
119
|
+
files: [jsxGlob],
|
|
128
120
|
rules: {
|
|
129
121
|
"jsdoc/require-param": ["warn", { unnamedRootBase: ["props"] }]
|
|
130
122
|
}
|
|
@@ -145,22 +137,16 @@ const config = defineConfig([
|
|
|
145
137
|
}
|
|
146
138
|
},
|
|
147
139
|
{
|
|
148
|
-
files: [
|
|
140
|
+
files: [tsGlob],
|
|
149
141
|
rules: {
|
|
150
142
|
"no-undef": "off"
|
|
151
143
|
}
|
|
152
144
|
},
|
|
153
145
|
{
|
|
154
|
-
files: ["
|
|
146
|
+
files: [convertExtensionsToGlob([".doc.js"])],
|
|
155
147
|
rules: {
|
|
156
148
|
"import-x/unambiguous": "off",
|
|
157
|
-
"unicorn/
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
files: ["dev.js"],
|
|
162
|
-
rules: {
|
|
163
|
-
"unicorn/prevent-abbreviations": "off"
|
|
149
|
+
"unicorn/name-replacements": "off"
|
|
164
150
|
}
|
|
165
151
|
},
|
|
166
152
|
{
|
|
@@ -168,12 +154,12 @@ const config = defineConfig([
|
|
|
168
154
|
rules: {
|
|
169
155
|
"max-classes-per-file": "off",
|
|
170
156
|
"sonarjs/no-built-in-override": "off",
|
|
171
|
-
"unicorn/
|
|
157
|
+
"unicorn/name-replacements": "off",
|
|
172
158
|
"unicorn/require-module-specifiers": "off"
|
|
173
159
|
}
|
|
174
160
|
},
|
|
175
161
|
{
|
|
176
|
-
files: ["
|
|
162
|
+
files: [convertExtensionsToGlob([".d.ts"])],
|
|
177
163
|
rules: {
|
|
178
164
|
"max-classes-per-file": "off",
|
|
179
165
|
"import-x/group-exports": "off",
|
|
@@ -181,7 +167,7 @@ const config = defineConfig([
|
|
|
181
167
|
"import-x/unambiguous": "off",
|
|
182
168
|
"no-unused-vars": "off",
|
|
183
169
|
"sonarjs/no-built-in-override": "off",
|
|
184
|
-
"unicorn/
|
|
170
|
+
"unicorn/name-replacements": "off"
|
|
185
171
|
}
|
|
186
172
|
},
|
|
187
173
|
{
|
|
@@ -189,7 +175,19 @@ const config = defineConfig([
|
|
|
189
175
|
rules: {
|
|
190
176
|
"import-x/prefer-default-export": "off"
|
|
191
177
|
}
|
|
192
|
-
}
|
|
178
|
+
},
|
|
179
|
+
cssConfig,
|
|
180
|
+
{
|
|
181
|
+
files: ["assets/style.css"],
|
|
182
|
+
rules: {
|
|
183
|
+
"css/use-layers": ["error", { requireImportLayers: false }],
|
|
184
|
+
"unicorn/no-missing-local-resource": "off"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
mdConfig,
|
|
188
|
+
htmlConfig,
|
|
189
|
+
jsonConfig,
|
|
190
|
+
jsoncConfig
|
|
193
191
|
]);
|
|
194
192
|
|
|
195
193
|
export default config;
|
package/package.json
CHANGED
|
@@ -1,12 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "17.2.3",
|
|
4
|
-
"description": "standard eslint config for pumpn code projects",
|
|
5
|
-
"main": "config.js",
|
|
6
2
|
"author": "Nano Miratus <nanomiratus@gmail.com>",
|
|
3
|
+
"dependencies": {
|
|
4
|
+
"@eslint/css": "^2.0.1",
|
|
5
|
+
"@eslint/json": "^2.1.1",
|
|
6
|
+
"@eslint/markdown": "^8.0.3",
|
|
7
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
8
|
+
"@html-eslint/eslint-plugin": "^0.67.0",
|
|
9
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
10
|
+
"@typescript-eslint/parser": "^8.72.0",
|
|
11
|
+
"eslint-cssicorn": "^0.3.0",
|
|
12
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
13
|
+
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
14
|
+
"eslint-plugin-command": "^4.0.0",
|
|
15
|
+
"eslint-plugin-depend": "^1.5.0",
|
|
16
|
+
"eslint-plugin-import-x": "^4.17.1",
|
|
17
|
+
"eslint-plugin-jsdoc": "^65.4.2",
|
|
18
|
+
"eslint-plugin-no-secrets": "^2.3.3",
|
|
19
|
+
"eslint-plugin-perfectionist": "^5.13.0",
|
|
20
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
21
|
+
"eslint-plugin-react-debug": "^5.28.8",
|
|
22
|
+
"eslint-plugin-react-dom": "^5.28.8",
|
|
23
|
+
"eslint-plugin-react-jsx": "^5.28.8",
|
|
24
|
+
"eslint-plugin-react-naming-convention": "^5.28.8",
|
|
25
|
+
"eslint-plugin-react-rsc": "^5.28.8",
|
|
26
|
+
"eslint-plugin-react-web-api": "^5.28.8",
|
|
27
|
+
"eslint-plugin-react-x": "^5.28.8",
|
|
28
|
+
"eslint-plugin-redos": "^4.5.0",
|
|
29
|
+
"eslint-plugin-regexp": "^3.3.1",
|
|
30
|
+
"eslint-plugin-security": "^4.2.0",
|
|
31
|
+
"eslint-plugin-sonarjs": "^4.2.2",
|
|
32
|
+
"eslint-plugin-unicorn": "^79.0.0",
|
|
33
|
+
"globals": "^17.13.0",
|
|
34
|
+
"radashi": "^12.9.6",
|
|
35
|
+
"tailwind-csstree": "^0.4.1"
|
|
36
|
+
},
|
|
37
|
+
"description": "standard eslint config for pumpn code projects",
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"eslint": "^10.13.0"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"_common",
|
|
43
|
+
"config",
|
|
44
|
+
"config.js"
|
|
45
|
+
],
|
|
7
46
|
"license": "MIT",
|
|
47
|
+
"main": "config.js",
|
|
48
|
+
"name": "@pumpn/eslint-config",
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"eslint": "^10.5.0"
|
|
51
|
+
},
|
|
8
52
|
"private": false,
|
|
9
|
-
"type": "module",
|
|
10
53
|
"repository": {
|
|
11
54
|
"type": "git",
|
|
12
55
|
"url": "git+https://github.com/pumpncode/eslint-config.git"
|
|
@@ -16,36 +59,6 @@
|
|
|
16
59
|
"prepublishOnly": "npm run lint",
|
|
17
60
|
"test": "echo 'no tests yet'"
|
|
18
61
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
24
|
-
"@stylistic/eslint-plugin": "^5.10.0",
|
|
25
|
-
"@typescript-eslint/parser": "^8.61.0",
|
|
26
|
-
"eslint-import-resolver-typescript": "^4.4.5",
|
|
27
|
-
"eslint-plugin-better-tailwindcss": "^4.6.0",
|
|
28
|
-
"eslint-plugin-command": "^3.5.2",
|
|
29
|
-
"eslint-plugin-depend": "^1.5.0",
|
|
30
|
-
"eslint-plugin-import-x": "^4.16.2",
|
|
31
|
-
"eslint-plugin-jsdoc": "^63.0.2",
|
|
32
|
-
"eslint-plugin-no-secrets": "^2.3.3",
|
|
33
|
-
"eslint-plugin-perfectionist": "^5.9.0",
|
|
34
|
-
"eslint-plugin-promise": "^7.3.0",
|
|
35
|
-
"eslint-plugin-react-dom": "^5.9.0",
|
|
36
|
-
"eslint-plugin-react-jsx": "^5.9.0",
|
|
37
|
-
"eslint-plugin-react-naming-convention": "^5.9.0",
|
|
38
|
-
"eslint-plugin-react-rsc": "^5.9.0",
|
|
39
|
-
"eslint-plugin-react-web-api": "^5.9.0",
|
|
40
|
-
"eslint-plugin-react-x": "^5.9.0",
|
|
41
|
-
"eslint-plugin-redos": "^4.5.0",
|
|
42
|
-
"eslint-plugin-regexp": "^3.1.0",
|
|
43
|
-
"eslint-plugin-security": "^4.0.1",
|
|
44
|
-
"eslint-plugin-sonarjs": "^4.0.3",
|
|
45
|
-
"eslint-plugin-unicorn": "^65.0.1",
|
|
46
|
-
"globals": "^17.6.0"
|
|
47
|
-
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"eslint": "^10.5.0"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
62
|
+
"type": "module",
|
|
63
|
+
"version": "18.0.0"
|
|
64
|
+
}
|
package/.ls-lint.yml
DELETED
package/.vscode/settings.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"deno.enable": true,
|
|
3
|
-
"deno.lint": false,
|
|
4
|
-
"files.watcherExclude": {
|
|
5
|
-
"**/.git/objects/**": true,
|
|
6
|
-
"**/.git/subtree-cache/**": true,
|
|
7
|
-
"**/.hg/store/**": true,
|
|
8
|
-
"**/.dart_tool": true,
|
|
9
|
-
"**/.trunk/*actions/": true,
|
|
10
|
-
"**/.trunk/*logs/": true,
|
|
11
|
-
"**/.trunk/*out": true,
|
|
12
|
-
"**/.trunk/*out/": true,
|
|
13
|
-
"**/.trunk/*plugins/": true,
|
|
14
|
-
"**/.git/**": true,
|
|
15
|
-
"**/node_modules/**": true,
|
|
16
|
-
"**/.vscode/**": true
|
|
17
|
-
}
|
|
18
|
-
}
|
package/deno.json
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "17.2.3",
|
|
4
|
-
"exports": "./config.js",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"tasks": {
|
|
7
|
-
"lint": "deno x eslint",
|
|
8
|
-
"publish": "deno task lint && VERSION=$(cat deno.json | jq -r .version) && git tag -a \"v$VERSION\" -m \"\" && git push origin \"v$VERSION\" && deno publish --no-check && npm publish",
|
|
9
|
-
"update-import-map": "deno run -A ./scripts/update-import-map.js",
|
|
10
|
-
"update-package-json": "deno run -A ./scripts/update-package-json.js",
|
|
11
|
-
"update-tsconfig": "deno run -A ./scripts/update-tsconfig.js"
|
|
12
|
-
},
|
|
13
|
-
"compilerOptions": {
|
|
14
|
-
"allowUnreachableCode": false,
|
|
15
|
-
"allowUnusedLabels": false,
|
|
16
|
-
"checkJs": true,
|
|
17
|
-
"exactOptionalPropertyTypes": true,
|
|
18
|
-
"jsx": "react-jsx",
|
|
19
|
-
"jsxImportSource": "preact",
|
|
20
|
-
"noErrorTruncation": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": false,
|
|
22
|
-
"noImplicitAny": true,
|
|
23
|
-
"noImplicitOverride": true,
|
|
24
|
-
"noImplicitReturns": true,
|
|
25
|
-
"noImplicitThis": true,
|
|
26
|
-
"noPropertyAccessFromIndexSignature": false,
|
|
27
|
-
"noUncheckedIndexedAccess": false,
|
|
28
|
-
"noUnusedLocals": false,
|
|
29
|
-
"noUnusedParameters": false,
|
|
30
|
-
"strict": true,
|
|
31
|
-
"lib": [
|
|
32
|
-
"dom",
|
|
33
|
-
"dom.iterable",
|
|
34
|
-
"dom.asynciterable",
|
|
35
|
-
"deno.ns",
|
|
36
|
-
"deno.unstable",
|
|
37
|
-
"esnext"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"imports": {
|
|
41
|
-
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.7.2",
|
|
42
|
-
"@std/path": "jsr:@std/path@^1.1.5",
|
|
43
|
-
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^5.10.0",
|
|
44
|
-
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.61.0",
|
|
45
|
-
"eslint": "npm:eslint@^10.5.0",
|
|
46
|
-
"eslint-import-resolver-typescript": "npm:eslint-import-resolver-typescript@^4.4.5",
|
|
47
|
-
"eslint-plugin-better-tailwindcss": "npm:eslint-plugin-better-tailwindcss@^4.6.0",
|
|
48
|
-
"eslint-plugin-command": "npm:eslint-plugin-command@^3.5.2",
|
|
49
|
-
"eslint-plugin-depend": "npm:eslint-plugin-depend@^1.5.0",
|
|
50
|
-
"eslint-plugin-import-x": "npm:eslint-plugin-import-x@^4.16.2",
|
|
51
|
-
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^63.0.2",
|
|
52
|
-
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^2.3.3",
|
|
53
|
-
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^5.9.0",
|
|
54
|
-
"eslint-plugin-promise": "npm:eslint-plugin-promise@^7.3.0",
|
|
55
|
-
"eslint-plugin-react-dom": "npm:eslint-plugin-react-dom@^5.9.0",
|
|
56
|
-
"eslint-plugin-react-jsx": "npm:eslint-plugin-react-jsx@^5.9.0",
|
|
57
|
-
"eslint-plugin-react-naming-convention": "npm:eslint-plugin-react-naming-convention@^5.9.0",
|
|
58
|
-
"eslint-plugin-react-rsc": "npm:eslint-plugin-react-rsc@^5.9.0",
|
|
59
|
-
"eslint-plugin-react-web-api": "npm:eslint-plugin-react-web-api@^5.9.0",
|
|
60
|
-
"eslint-plugin-react-x": "npm:eslint-plugin-react-x@^5.9.0",
|
|
61
|
-
"eslint-plugin-redos": "npm:eslint-plugin-redos@^4.5.0",
|
|
62
|
-
"eslint-plugin-regexp": "npm:eslint-plugin-regexp@^3.1.0",
|
|
63
|
-
"eslint-plugin-security": "npm:eslint-plugin-security@^4.0.1",
|
|
64
|
-
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^4.0.3",
|
|
65
|
-
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^65.0.1",
|
|
66
|
-
"globals": "npm:globals@^17.6.0",
|
|
67
|
-
"preact": "https://esm.sh/*preact@10.19.3?dev",
|
|
68
|
-
"preact/jsx-runtime": "https://esm.sh/*preact@10.19.3/jsx-runtime?dev"
|
|
69
|
-
},
|
|
70
|
-
"exclude": [
|
|
71
|
-
"**/_fresh/*",
|
|
72
|
-
"./documentation"
|
|
73
|
-
],
|
|
74
|
-
"nodeModulesDir": "auto",
|
|
75
|
-
"allowScripts": [
|
|
76
|
-
"npm:unrs-resolver@1.11.1"
|
|
77
|
-
]
|
|
78
|
-
}
|