eslint-config-isaacscript 3.0.0 → 3.0.1
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.js +4 -9
- package/jsdoc.js +1 -1
- package/mod.js +1 -1
- package/monorepo.js +2 -3
- package/package.json +1 -1
package/base.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This is a shared configuration file for ESLint:
|
|
2
|
-
// https://eslint.org/docs/user-guide/configuring
|
|
2
|
+
// https://eslint.org/docs/latest/user-guide/configuring
|
|
3
3
|
module.exports = {
|
|
4
4
|
extends: [
|
|
5
5
|
/**
|
|
@@ -401,15 +401,10 @@ module.exports = {
|
|
|
401
401
|
* Defined at:
|
|
402
402
|
* https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/style.js
|
|
403
403
|
*
|
|
404
|
-
* Airbnb disallows these because it can lead to errors with minified code.
|
|
405
|
-
*
|
|
404
|
+
* Airbnb disallows these because it can lead to errors with minified code. When using Prettier,
|
|
405
|
+
* it adds semi-colons everywhere, so we don't have to worry about this.
|
|
406
406
|
*/
|
|
407
|
-
"no-plusplus":
|
|
408
|
-
"warn",
|
|
409
|
-
{
|
|
410
|
-
allowForLoopAfterthoughts: true,
|
|
411
|
-
},
|
|
412
|
-
],
|
|
407
|
+
"no-plusplus": "off",
|
|
413
408
|
|
|
414
409
|
/**
|
|
415
410
|
* Documentation:
|
package/jsdoc.js
CHANGED
package/mod.js
CHANGED
package/monorepo.js
CHANGED
|
@@ -3,7 +3,7 @@ const path = require("path"); // eslint-disable-line @typescript-eslint/no-var-r
|
|
|
3
3
|
const REPO_ROOT = path.join(__dirname, "..", "..");
|
|
4
4
|
|
|
5
5
|
// This is a shared configuration file for ESLint:
|
|
6
|
-
// https://eslint.org/docs/user-guide/configuring
|
|
6
|
+
// https://eslint.org/docs/latest/user-guide/configuring
|
|
7
7
|
module.exports = {
|
|
8
8
|
plugins: ["@nrwl/nx"],
|
|
9
9
|
|
|
@@ -12,8 +12,7 @@ module.exports = {
|
|
|
12
12
|
parserOptions: {
|
|
13
13
|
ecmaVersion: 2020,
|
|
14
14
|
sourceType: "module",
|
|
15
|
-
|
|
16
|
-
// This cannot be simplified to "./../.." because of relative path shenanigans.
|
|
15
|
+
// This cannot be simplified to `./../..` because of relative path shenanigans.
|
|
17
16
|
tsconfigRootDir: REPO_ROOT,
|
|
18
17
|
},
|
|
19
18
|
|