eslint-config-ash-nazg 39.8.0 → 39.10.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/CHANGES.md +10 -0
- package/browser.js +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/node.d.ts.map +1 -1
- package/dist/overrides-script-node.d.ts +1 -1
- package/dist/overrides-script-node.d.ts.map +1 -1
- package/index.js +1 -0
- package/main.js +0 -8
- package/node.js +0 -6
- package/overrides-script-node.js +2 -2
- package/package.json +10 -11
package/CHANGES.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# eslint-config-ash-nazg CHANGES
|
|
2
2
|
|
|
3
|
+
## 39.10.0
|
|
4
|
+
|
|
5
|
+
- feat: reenable `eslint-plugin-no-unsanitized`
|
|
6
|
+
- chore: update `globals` dep.
|
|
7
|
+
|
|
8
|
+
## 39.9.0
|
|
9
|
+
|
|
10
|
+
- perf: remove unused @eslint/eslintrc
|
|
11
|
+
- chore: update deps. and devDeps.
|
|
12
|
+
|
|
3
13
|
## 39.8.0
|
|
4
14
|
|
|
5
15
|
- feat: avoid jsdoc/check-types fixes that are equivalent to other rules
|
package/browser.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import eslintCompat from 'eslint-plugin-compat';
|
|
2
2
|
import esCompat from 'eslint-plugin-escompat';
|
|
3
|
-
|
|
3
|
+
import noUnsanitized from 'eslint-plugin-no-unsanitized';
|
|
4
4
|
|
|
5
5
|
export default /** @type {import('eslint').Linter.Config[]} */ ([
|
|
6
6
|
{
|
|
@@ -15,7 +15,7 @@ export default /** @type {import('eslint').Linter.Config[]} */ ([
|
|
|
15
15
|
...eslintCompat.configs['flat/recommended']
|
|
16
16
|
},
|
|
17
17
|
esCompat.configs['flat/recommended'],
|
|
18
|
-
|
|
18
|
+
noUnsanitized.configs.recommended,
|
|
19
19
|
{
|
|
20
20
|
name: 'ash-nazg/browser',
|
|
21
21
|
rules: {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":"AAyBA;;;;;;;EAOE;AACF,+BAPW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GACzC,OAAW,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAC1B,MAAM,EAAE,GACN,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GAC1C,OAAY,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAYpC;;oBAoBY,CAAC,WAAW,GAAC,QAAQ,GAAC,SAAS,GAC3C,UAAc,GAAC,MAAM,GAAC,MAAM,GAAC,SAAS,GACtC,QAAY,GAAC,QAAQ,GACrB,cAAkB,GAClB,YAAgB,GAAC,OAAO,GACxB,OAAW,GAAC,aAAa,CAAC,EAAE;AAN7B;;;;;;;GAOG;AASH;;;;;GAKG;AACH,8BALW,KAAK,WACL,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GAE5B,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CA+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":"AAyBA;;;;;;;EAOE;AACF,+BAPW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GACzC,OAAW,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAC1B,MAAM,EAAE,GACN,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GAC1C,OAAY,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAYpC;;oBAoBY,CAAC,WAAW,GAAC,QAAQ,GAAC,SAAS,GAC3C,UAAc,GAAC,MAAM,GAAC,MAAM,GAAC,SAAS,GACtC,QAAY,GAAC,QAAQ,GACrB,cAAkB,GAClB,YAAgB,GAAC,OAAO,GACxB,OAAW,GAAC,aAAa,CAAC,EAAE;AAN7B;;;;;;;GAOG;AASH;;;;;GAKG;AACH,8BALW,KAAK,WACL,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GAE5B,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CA+H5C"}
|
package/dist/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../main.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../main.js"],"names":[],"mappings":"AAuBU,kCAAM;IACX,IAAI,CAAC,EAAE,QAAQ,GAAC,UAAU,CAAA;CAC3B,GAAK,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAA"}
|
package/dist/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../node.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../node.js"],"names":[],"mappings":"AAiBU,kCAAM;IACX,IAAI,CAAC,EAAE,QAAQ,GAAC,UAAU,CAAA;CAC5B,GAAK,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("eslint").Linter.Config
|
|
1
|
+
declare const _default: import("eslint").Linter.Config[];
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=overrides-script-node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overrides-script-node.d.ts","sourceRoot":"","sources":["../overrides-script-node.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"overrides-script-node.d.ts","sourceRoot":"","sources":["../overrides-script-node.js"],"names":[],"mappings":"wBAG0B,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE"}
|
package/index.js
CHANGED
package/main.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
// import {fixupPluginRules} from '@eslint/compat'
|
|
2
|
-
// import {FlatCompat} from '@eslint/eslintrc';
|
|
3
|
-
|
|
4
1
|
import stylistic from '@stylistic/eslint-plugin';
|
|
5
2
|
import js from '@eslint/js';
|
|
6
3
|
import brettz9 from '@brettz9/eslint-plugin';
|
|
@@ -23,11 +20,6 @@ import modules from './modules.js';
|
|
|
23
20
|
import standard from './standard.js';
|
|
24
21
|
import {addFiles} from './index.js';
|
|
25
22
|
|
|
26
|
-
// const __dirname = import.meta.dirname;
|
|
27
|
-
// const compat = new FlatCompat({
|
|
28
|
-
// baseDirectory: __dirname
|
|
29
|
-
// });
|
|
30
|
-
|
|
31
23
|
/**
|
|
32
24
|
* @type {(cfg: {
|
|
33
25
|
* type?: "module"|"commonjs"
|
package/node.js
CHANGED
|
@@ -4,12 +4,6 @@ import index from './main.js';
|
|
|
4
4
|
import standard from './standard.js';
|
|
5
5
|
import modules from './modules.js';
|
|
6
6
|
|
|
7
|
-
// import {FlatCompat} from '@eslint/eslintrc';
|
|
8
|
-
// const __dirname = import.meta.dirname;
|
|
9
|
-
// const compat = new FlatCompat({
|
|
10
|
-
// baseDirectory: __dirname
|
|
11
|
-
// });
|
|
12
|
-
|
|
13
7
|
const esmNodeGlobals = {
|
|
14
8
|
...globals.node,
|
|
15
9
|
__dirname: /** @type {const} */ ('off'),
|
package/overrides-script-node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-ash-nazg",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.10.0",
|
|
4
4
|
"description": "An expansion and tweaking of the \"standard\" config style for ESLint",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|
|
30
30
|
"@brettz9/eslint-plugin": "^3.0.0",
|
|
31
31
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
32
|
-
"@eslint/core": "^0.
|
|
33
|
-
"@eslint/
|
|
34
|
-
"@eslint/js": "^9.39.1",
|
|
32
|
+
"@eslint/core": "^1.0.0",
|
|
33
|
+
"@eslint/js": "^9.39.2",
|
|
35
34
|
"@eslint/markdown": "^7.5.1",
|
|
36
35
|
"@fintechstudios/eslint-plugin-chai-as-promised": "^3.1.0",
|
|
37
|
-
"@stylistic/eslint-plugin": "^5.
|
|
38
|
-
"browserslist": "^4.
|
|
36
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
37
|
+
"browserslist": "^4.28.1",
|
|
39
38
|
"es-file-traverse": "^2.0.1",
|
|
40
39
|
"eslint-plugin-array-func": "^5.1.0",
|
|
41
40
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
@@ -46,7 +45,7 @@
|
|
|
46
45
|
"eslint-plugin-escompat": "^3.11.4",
|
|
47
46
|
"eslint-plugin-html": "^8.1.3",
|
|
48
47
|
"eslint-plugin-import": "^2.32.0",
|
|
49
|
-
"eslint-plugin-jsdoc": "^61.
|
|
48
|
+
"eslint-plugin-jsdoc": "^61.5.0",
|
|
50
49
|
"eslint-plugin-mocha": "^11.2.0",
|
|
51
50
|
"eslint-plugin-mocha-cleanup": "^1.11.3",
|
|
52
51
|
"eslint-plugin-n": "^17.23.1",
|
|
@@ -55,7 +54,7 @@
|
|
|
55
54
|
"eslint-plugin-promise": "^7.2.1",
|
|
56
55
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
57
56
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
58
|
-
"globals": "^
|
|
57
|
+
"globals": "^17.0.0",
|
|
59
58
|
"semver": "^7.7.3"
|
|
60
59
|
},
|
|
61
60
|
"peerDependencies": {
|
|
@@ -63,10 +62,10 @@
|
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
64
|
"@scottnonnenberg/eslint-compare-config": "^1.1.0",
|
|
66
|
-
"@types/node": "^
|
|
65
|
+
"@types/node": "^25.0.3",
|
|
67
66
|
"@types/semver": "^7.7.1",
|
|
68
|
-
"eslint": "^9.39.
|
|
69
|
-
"rimraf": "^6.1.
|
|
67
|
+
"eslint": "^9.39.2",
|
|
68
|
+
"rimraf": "^6.1.2",
|
|
70
69
|
"typescript": "^5.9.3"
|
|
71
70
|
},
|
|
72
71
|
"scripts": {
|