eslint-config-isaacscript 4.2.0 → 4.4.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/base-eslint.js +1 -1
- package/mod.js +0 -8
- package/monorepo.js +2 -1
- package/package.json +1 -1
package/base-eslint.js
CHANGED
|
@@ -318,9 +318,9 @@ const SUGGESTIONS = {
|
|
|
318
318
|
|
|
319
319
|
"no-new": "error",
|
|
320
320
|
"no-new-func": "error",
|
|
321
|
-
"no-new-object": "error",
|
|
322
321
|
"no-new-wrappers": "error",
|
|
323
322
|
"no-nonoctal-decimal-escape": "error",
|
|
323
|
+
"no-object-constructor": "error",
|
|
324
324
|
"no-octal": "error",
|
|
325
325
|
"no-octal-escape": "error",
|
|
326
326
|
|
package/mod.js
CHANGED
|
@@ -189,14 +189,6 @@ const config = {
|
|
|
189
189
|
*/
|
|
190
190
|
"unicorn/prefer-math-trunc": "off",
|
|
191
191
|
|
|
192
|
-
/**
|
|
193
|
-
* Defined at: base-unicorn.js
|
|
194
|
-
*
|
|
195
|
-
* TypeScriptToLua supports `parseInt`, but not `Number.parseInt`:
|
|
196
|
-
* https://github.com/TypeScriptToLua/TypeScriptToLua/issues/1471
|
|
197
|
-
*/
|
|
198
|
-
"unicorn/prefer-number-properties": "off",
|
|
199
|
-
|
|
200
192
|
/**
|
|
201
193
|
* Defined at: base-eslint.js
|
|
202
194
|
*
|
package/monorepo.js
CHANGED
|
@@ -11,9 +11,10 @@ const config = {
|
|
|
11
11
|
// We need to add the `tsconfigRootDir` property, but we must also repeat the options from
|
|
12
12
|
// "base-typescript-eslint.js" or they will be deleted.
|
|
13
13
|
parserOptions: {
|
|
14
|
-
ecmaVersion: "latest",
|
|
15
14
|
sourceType: "module",
|
|
15
|
+
ecmaVersion: "latest",
|
|
16
16
|
tsconfigRootDir: REPO_ROOT,
|
|
17
|
+
project: true,
|
|
17
18
|
},
|
|
18
19
|
|
|
19
20
|
rules: {
|