@pumpn/eslint-config 12.0.0 → 12.1.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/config.js +0 -9
- package/deno.json +3 -0
- package/deno.lock +0 -35
- package/import-map.json +1 -2
- package/package.json +5 -3
- package/rules/github.js +1 -1
- package/rules/suggestions.js +1 -1
package/config.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import process from "node:process";
|
|
2
|
-
|
|
3
1
|
import globals from "globals";
|
|
4
2
|
|
|
5
3
|
import plugins from "./plugins.js";
|
|
@@ -69,13 +67,6 @@ const config = [
|
|
|
69
67
|
".jsx"
|
|
70
68
|
]
|
|
71
69
|
},
|
|
72
|
-
"import/resolver": {
|
|
73
|
-
"@jsenv/importmap-eslint-resolver": {
|
|
74
|
-
importMapFileRelativeUrl: "./import-map.json",
|
|
75
|
-
projectDirectoryUrl: process.cwd()
|
|
76
|
-
},
|
|
77
|
-
node: true
|
|
78
|
-
},
|
|
79
70
|
jsdoc: {
|
|
80
71
|
mode: "typescript",
|
|
81
72
|
tagNamePreference: {
|
package/deno.json
CHANGED
package/deno.lock
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"specifiers": {
|
|
5
5
|
"npm:@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@4.1.0_eslint@8.57.0",
|
|
6
6
|
"npm:@eslint-community/eslint-plugin-eslint-comments@^4.1.0": "npm:@eslint-community/eslint-plugin-eslint-comments@4.1.0_eslint@8.57.0",
|
|
7
|
-
"npm:@jsenv/importmap-eslint-resolver@^5.2.5": "npm:@jsenv/importmap-eslint-resolver@5.2.5",
|
|
8
7
|
"npm:@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@1.6.3_eslint@8.57.0",
|
|
9
8
|
"npm:@stylistic/eslint-plugin@^1.6.3": "npm:@stylistic/eslint-plugin@1.6.3_eslint@8.57.0",
|
|
10
9
|
"npm:eslint-plugin-github": "npm:eslint-plugin-github@4.10.1_eslint@8.57.0_@typescript-eslint+parser@6.21.0__eslint@8.57.0_eslint-config-prettier@9.1.0__eslint@8.57.0_prettier@3.2.5",
|
|
@@ -180,39 +179,6 @@
|
|
|
180
179
|
"@jridgewell/sourcemap-codec": "@jridgewell/sourcemap-codec@1.4.15"
|
|
181
180
|
}
|
|
182
181
|
},
|
|
183
|
-
"@jsenv/abort@4.1.2": {
|
|
184
|
-
"integrity": "sha512-amkLSqyMyUNSFybjlE4y6DQLy9Cmwytr/WtLOVYSg9xz0Lj6KKLeCPIltIJx+nbuhR52PmlkJskLjYrrJ9UOnQ==",
|
|
185
|
-
"dependencies": {}
|
|
186
|
-
},
|
|
187
|
-
"@jsenv/filesystem@2.7.1": {
|
|
188
|
-
"integrity": "sha512-uk0zA95FpubXF+Knb8sjefYhr+rYNzhMPnweQEeSe8fLbDuNiCd6XHtgNHW74aQ+nV48b5Ucpxf3K3cwmKwhXw==",
|
|
189
|
-
"dependencies": {
|
|
190
|
-
"@jsenv/abort": "@jsenv/abort@4.1.2",
|
|
191
|
-
"@jsenv/url-meta": "@jsenv/url-meta@6.0.3"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"@jsenv/importmap-eslint-resolver@5.2.5": {
|
|
195
|
-
"integrity": "sha512-SHL/NJ5pr4yj9L97x39g0Zmd1kWPhnxhKhzXvBctg1c8XewfHr4dLu+sUUXTHDeIAsCFJtiMgRuvon6gbD0SBQ==",
|
|
196
|
-
"dependencies": {
|
|
197
|
-
"@jsenv/filesystem": "@jsenv/filesystem@2.7.1",
|
|
198
|
-
"@jsenv/importmap": "@jsenv/importmap@1.2.0",
|
|
199
|
-
"@jsenv/logger": "@jsenv/logger@4.0.1"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"@jsenv/importmap@1.2.0": {
|
|
203
|
-
"integrity": "sha512-qPyWdgWkortFDjHdqOmep3MMxQqQ7DDD9ZufoQFroI/kdQ0/uXhywtpmxtPC9leV0k4oIym0bZl6F1glKrWf6w==",
|
|
204
|
-
"dependencies": {
|
|
205
|
-
"@jsenv/logger": "@jsenv/logger@4.0.1"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"@jsenv/logger@4.0.1": {
|
|
209
|
-
"integrity": "sha512-QQmoZXsHucO4gLRDhsHUNZu3pvF3FMKmWC/PaqIkJhayefKLg+LRkUPXuQsMaWLb9JbbjfB/xdc1COe5LYob6A==",
|
|
210
|
-
"dependencies": {}
|
|
211
|
-
},
|
|
212
|
-
"@jsenv/url-meta@6.0.3": {
|
|
213
|
-
"integrity": "sha512-O9iBlAEBHEVHfsK9F/pp+oTRxuyvAfOYpyZTGA1Sa1+9Eo24HEcWYGde+wmSSY0gVN3ZbNuJZIPnYrOjkfJraw==",
|
|
214
|
-
"dependencies": {}
|
|
215
|
-
},
|
|
216
182
|
"@nodelib/fs.scandir@2.1.5": {
|
|
217
183
|
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
|
|
218
184
|
"dependencies": {
|
|
@@ -3126,7 +3092,6 @@
|
|
|
3126
3092
|
"packageJson": {
|
|
3127
3093
|
"dependencies": [
|
|
3128
3094
|
"npm:@eslint-community/eslint-plugin-eslint-comments@^4.1.0",
|
|
3129
|
-
"npm:@jsenv/importmap-eslint-resolver@^5.2.5",
|
|
3130
3095
|
"npm:@stylistic/eslint-plugin@^1.6.3",
|
|
3131
3096
|
"npm:eslint-plugin-github@^4.10.2",
|
|
3132
3097
|
"npm:eslint-plugin-import@^2.29.1",
|
package/import-map.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"imports": {
|
|
3
3
|
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.1.0",
|
|
4
|
-
"@jsenv/importmap-eslint-resolver": "npm:@jsenv/importmap-eslint-resolver@^5.2.5",
|
|
5
4
|
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^1.6.3",
|
|
6
5
|
"eslint-plugin-github": "npm:eslint-plugin-github@^4.10.2",
|
|
7
6
|
"eslint-plugin-import": "npm:eslint-plugin-import@^2.29.1",
|
|
@@ -18,7 +17,7 @@
|
|
|
18
17
|
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^0.24.0",
|
|
19
18
|
"eslint-plugin-tailwindcss": "npm:eslint-plugin-tailwindcss@^3.14.3",
|
|
20
19
|
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^51.0.1",
|
|
21
|
-
"globals": "
|
|
20
|
+
"globals": "npm:globals@^14.0.0",
|
|
22
21
|
"preact": "https://esm.sh/*preact@10.19.3?dev",
|
|
23
22
|
"preact/jsx-runtime": "https://esm.sh/*preact@10.19.3/jsx-runtime?dev",
|
|
24
23
|
"radash": "npm:radash"
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"description": "standard eslint config for pumpn code projects",
|
|
5
5
|
"main": "config.js",
|
|
6
6
|
"author": "Nano Miratus <nanomiratus@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"private": false,
|
|
9
9
|
"type": "module",
|
|
10
|
-
"repository":
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/pumpncode/eslint-config.git"
|
|
13
|
+
},
|
|
11
14
|
"scripts": {
|
|
12
15
|
"lint": "eslint .",
|
|
13
16
|
"prepublishOnly": "npm run lint",
|
|
@@ -20,7 +23,6 @@
|
|
|
20
23
|
},
|
|
21
24
|
"dependencies": {
|
|
22
25
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.1.0",
|
|
23
|
-
"@jsenv/importmap-eslint-resolver": "^5.2.5",
|
|
24
26
|
"@stylistic/eslint-plugin": "^1.6.3",
|
|
25
27
|
"eslint-plugin-github": "^4.10.2",
|
|
26
28
|
"eslint-plugin-import": "^2.29.1",
|
package/rules/github.js
CHANGED
|
@@ -14,7 +14,7 @@ const githubRules = {
|
|
|
14
14
|
"github/no-d-none": "error",
|
|
15
15
|
"github/no-dataset": "error",
|
|
16
16
|
"github/no-dynamic-script-tag": "error",
|
|
17
|
-
"github/no-implicit-buggy-globals": "
|
|
17
|
+
"github/no-implicit-buggy-globals": "off",
|
|
18
18
|
"github/no-inner-html": "error",
|
|
19
19
|
"github/no-innerText": "error",
|
|
20
20
|
"github/no-then": "error",
|
package/rules/suggestions.js
CHANGED
|
@@ -73,7 +73,7 @@ const suggestionsRules = {
|
|
|
73
73
|
"logical-assignment-operators": "error",
|
|
74
74
|
"multiline-comment-style": "off",
|
|
75
75
|
"new-cap": "error",
|
|
76
|
-
"no-alert": "
|
|
76
|
+
"no-alert": "off",
|
|
77
77
|
"no-array-constructor": "error",
|
|
78
78
|
"no-bitwise": "error",
|
|
79
79
|
"no-caller": "error",
|