@nice-move/eslint-config-base 0.11.18 → 0.11.20

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.
Files changed (2) hide show
  1. package/lib/mini.cjs +56 -1
  2. package/package.json +4 -4
package/lib/mini.cjs CHANGED
@@ -110,6 +110,7 @@ function generate({
110
110
  es2017: false,
111
111
  es2016: false,
112
112
  es6: false,
113
+ node: false,
113
114
  },
114
115
  parserOptions: {
115
116
  ecmaVersion: 5,
@@ -118,16 +119,70 @@ function generate({
118
119
  globals: {
119
120
  require: 'readonly',
120
121
  module: 'readonly',
122
+ getRegExp: 'readonly',
123
+ getDate: 'readonly',
121
124
  },
122
125
  rules: {
123
126
  'import/no-commonjs': 0,
124
127
  'no-var': 0,
125
128
  'object-shorthand': ['error', 'never'],
129
+ 'prefer-arrow-callback': 0,
130
+ 'prefer-rest-params': 0,
126
131
  'prefer-spread': 0,
127
132
  'prefer-template': 0,
128
- 'unicorn/prefer-includes': 0,
133
+ 'vars-on-top': 0,
129
134
  'unicorn/prefer-export-from': 0,
135
+ 'unicorn/prefer-includes': 0,
130
136
  'unicorn/prefer-module': 0,
137
+ 'unicorn/prefer-string-replace-all': 0,
138
+ 'no-restricted-globals': [
139
+ 'error',
140
+ 'AggregateError',
141
+ 'Array',
142
+ 'ArrayBuffer',
143
+ 'Atomics',
144
+ 'BigInt',
145
+ 'BigInt64Array',
146
+ 'BigUint64Array',
147
+ 'Boolean',
148
+ 'DataView',
149
+ 'Date',
150
+ 'Error',
151
+ 'escape',
152
+ 'eval',
153
+ 'EvalError',
154
+ 'FinalizationRegistry',
155
+ 'Float32Array',
156
+ 'Float64Array',
157
+ 'Function',
158
+ 'globalThis',
159
+ 'Int16Array',
160
+ 'Int32Array',
161
+ 'Int8Array',
162
+ 'Map',
163
+ 'Object',
164
+ 'Promise',
165
+ 'Proxy',
166
+ 'RangeError',
167
+ 'ReferenceError',
168
+ 'Reflect',
169
+ 'RegExp',
170
+ 'Set',
171
+ 'SharedArrayBuffer',
172
+ 'String',
173
+ 'Symbol',
174
+ 'SyntaxError',
175
+ 'TypeError',
176
+ 'Uint16Array',
177
+ 'Uint32Array',
178
+ 'Uint8Array',
179
+ 'Uint8ClampedArray',
180
+ 'unescape',
181
+ 'URIError',
182
+ 'WeakMap',
183
+ 'WeakRef',
184
+ 'WeakSet',
185
+ ],
131
186
  },
132
187
  },
133
188
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-move/eslint-config-base",
3
- "version": "0.11.18",
3
+ "version": "0.11.20",
4
4
  "description": "A `eslint` config for best practice",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -39,11 +39,11 @@
39
39
  "@babel/plugin-syntax-import-attributes": "^7.25.6",
40
40
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
41
41
  "@nice-move/eslint-plugin-html": "0.0.0-beta.4",
42
- "@typescript-eslint/eslint-plugin": "^8.3.0",
43
- "@typescript-eslint/parser": "^8.3.0",
42
+ "@typescript-eslint/eslint-plugin": "^8.5.0",
43
+ "@typescript-eslint/parser": "^8.5.0",
44
44
  "eslint-config-airbnb-base": "^15.0.0",
45
45
  "eslint-config-prettier": "^9.1.0",
46
- "eslint-plugin-import": "^2.29.1",
46
+ "eslint-plugin-import": "^2.30.0",
47
47
  "eslint-plugin-markdown": "^5.1.0",
48
48
  "eslint-plugin-n": "^17.10.2",
49
49
  "eslint-plugin-promise": "^7.1.0",