@nice-move/eslint-config-base 0.12.17 → 0.12.19

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 CHANGED
@@ -36,12 +36,12 @@ eslint --fix .
36
36
 
37
37
  ## Specification
38
38
 
39
- | Environment | pattern |
40
- | :---------- | :------------------------------------------------------------------------------------------- |
41
- | browser | `.js`, `.html` |
42
- | node.js | `.mjs`, `.mts`, `.cjs`, `.cts` |
43
- | es modules | `.mjs`, `.mts`, `.js`, `.html` |
44
- | commonjs | `.cjs`, source code in webpack project |
39
+ | Environment | pattern |
40
+ | :---------- | :------------------------------------- |
41
+ | browser | `.js`, `.html` |
42
+ | node.js | `.mjs`, `.mts`, `.cjs`, `.cts` |
43
+ | es modules | `.mjs`, `.mts`, `.js`, `.html` |
44
+ | commonjs | `.cjs`, source code in webpack project |
45
45
 
46
46
  ## Tips
47
47
 
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.17",
3
+ "version": "0.12.19",
4
4
  "description": "A `eslint` config for best practice",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -26,7 +26,7 @@
26
26
  "homepage": "https://github.com/nice-move/nice-move/tree/master/packages/eslint-config-base",
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "https://github.com/nice-move/nice-move.git",
29
+ "url": "git+https://github.com/nice-move/nice-move.git",
30
30
  "directory": "packages/eslint-config-base"
31
31
  },
32
32
  "bugs": {
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
39
39
  "@eslint/eslintrc": "^3.3.1",
40
- "@eslint/js": "^9.24.0",
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
43
  "eslint-config-prettier": "^10.1.2",
@@ -46,15 +46,15 @@
46
46
  "eslint-plugin-n": "^17.17.0",
47
47
  "eslint-plugin-promise": "^7.2.1",
48
48
  "eslint-plugin-regexp": "^2.7.0",
49
- "eslint-plugin-unicorn": "^58.0.0",
49
+ "eslint-plugin-unicorn": "^59.0.0",
50
50
  "espree": "^10.3.0",
51
51
  "globals": "^16.0.0",
52
52
  "resolve.exports": "^2.0.3",
53
53
  "settingz": "^0.2.0",
54
- "typescript-eslint": "^8.30.1"
54
+ "typescript-eslint": "^8.31.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "eslint": "^9.24.0"
57
+ "eslint": "^9.25.1"
58
58
  },
59
59
  "engines": {
60
60
  "node": "^20.18.1 || ^22.11.0"