@nice-move/eslint-config-base 0.12.16 → 0.12.18
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/lib/mini.mjs +4 -0
- package/package.json +6 -6
package/lib/mini.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { relative } from 'node:path';
|
|
2
|
+
|
|
2
3
|
import { reaching } from 'settingz';
|
|
4
|
+
|
|
3
5
|
import { getGlobals } from './utils.mjs';
|
|
4
6
|
|
|
5
7
|
const cwd = process.cwd();
|
|
@@ -125,6 +127,7 @@ function generate({
|
|
|
125
127
|
parseInt: false,
|
|
126
128
|
require: false,
|
|
127
129
|
undefined: false,
|
|
130
|
+
console: 'readonly',
|
|
128
131
|
},
|
|
129
132
|
parserOptions: {
|
|
130
133
|
ecmaFeatures: {
|
|
@@ -148,6 +151,7 @@ function generate({
|
|
|
148
151
|
'unicorn/prefer-includes': 0,
|
|
149
152
|
'unicorn/prefer-module': 0,
|
|
150
153
|
'unicorn/prefer-string-replace-all': 0,
|
|
154
|
+
'unicorn/prefer-at': 0,
|
|
151
155
|
'no-restricted-globals': [
|
|
152
156
|
'error',
|
|
153
157
|
'AggregateError',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-move/eslint-config-base",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.18",
|
|
4
4
|
"description": "A `eslint` config for best practice",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"main": "index.mjs",
|
|
36
36
|
"type": "module",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
38
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
39
39
|
"@eslint/eslintrc": "^3.3.1",
|
|
40
|
-
"@eslint/js": "^9.
|
|
40
|
+
"@eslint/js": "^9.25.1",
|
|
41
41
|
"@nice-move/eslint-plugin-html": "^0.1.1",
|
|
42
42
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
43
|
-
"eslint-config-prettier": "^10.1.
|
|
43
|
+
"eslint-config-prettier": "^10.1.2",
|
|
44
44
|
"eslint-plugin-import": "^2.31.0",
|
|
45
45
|
"eslint-plugin-markdown": "^5.1.0",
|
|
46
46
|
"eslint-plugin-n": "^17.17.0",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"globals": "^16.0.0",
|
|
52
52
|
"resolve.exports": "^2.0.3",
|
|
53
53
|
"settingz": "^0.2.0",
|
|
54
|
-
"typescript-eslint": "^8.
|
|
54
|
+
"typescript-eslint": "^8.31.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"eslint": "^9.
|
|
57
|
+
"eslint": "^9.25.1"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": "^20.18.1 || ^22.11.0"
|