isaacscript-lint 1.1.5 → 1.1.8
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 +4 -4
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ ESLint is the industry standard tool for linting in JavaScript and TypeScript. A
|
|
|
50
50
|
|
|
51
51
|
Because of the advantages of Prettier, we use it on top of the Airbnb config, and prefer Prettier's changes if there are any conflicts. Any ESLint rules that conflict with Prettier are turned off with [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier).
|
|
52
52
|
|
|
53
|
-
Finally, some specific Airbnb rules are disabled, since they don't make much sense in certain contexts. You can see the specific exclusions in the [base.js](https://github.com/IsaacScript/eslint-config-isaacscript/
|
|
53
|
+
Finally, some specific Airbnb rules are disabled, since they don't make much sense in certain contexts. You can see the specific exclusions in the [base.js](https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/base.js) and [mod.js](https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/mod.js) files of the [`eslint-config-isaacscript`](https://github.com/IsaacScript/isaacscript/tree/main/packages/eslint-config-isaacscript) repository.
|
|
54
54
|
|
|
55
55
|
In order to avoid running two different tools, we could use [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) to run Prettier as an ESLint rule. However, doing this [is not recommended by Prettier](https://prettier.io/docs/en/integrating-with-linters.html). Thus, in order to use `isaacscript-lint`, you should be running both Prettier and ESLint on save. (More info on that is below.)
|
|
56
56
|
|
|
@@ -80,7 +80,7 @@ Create a `eslintrc.js` file in the root of your repository:
|
|
|
80
80
|
module.exports = {
|
|
81
81
|
extends: [
|
|
82
82
|
// The linter base is the shared IsaacScript config
|
|
83
|
-
// https://github.com/IsaacScript/eslint-config-isaacscript/
|
|
83
|
+
// https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/base.js
|
|
84
84
|
"eslint-config-isaacscript/base",
|
|
85
85
|
],
|
|
86
86
|
|
|
@@ -201,9 +201,9 @@ Optionally, you can also provide a hint to anyone cloning your repository that t
|
|
|
201
201
|
- [`eslint`](https://github.com/eslint/eslint) - The main linter engine for JavaScript/TypeScript, as explained above.
|
|
202
202
|
- [`eslint-config-airbnb-base`](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base) - ESLint rules that conform to the Airbnb style guide.
|
|
203
203
|
- [`eslint-config-airbnb-typescript`](https://github.com/iamturns/eslint-config-airbnb-typescript) - Enhances the Airbnb rules with TypeScript support.
|
|
204
|
-
- [`eslint-config-isaacscript`](https://github.com/IsaacScript/eslint-config-isaacscript) - Contains the master ESLint configuration.
|
|
204
|
+
- [`eslint-config-isaacscript`](https://github.com/IsaacScript/isaacscript/tree/main/packages/eslint-config-isaacscript) - Contains the master ESLint configuration.
|
|
205
205
|
- [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) - Turns off all rules that conflict with Prettier.
|
|
206
|
-
- [`eslint-plugin-isaacscript`](https://github.com/IsaacScript/eslint-plugin-isaacscript) - A plugin that provides a collection of miscellaneous rules that help keep code safe.
|
|
206
|
+
- [`eslint-plugin-isaacscript`](https://github.com/IsaacScript/isaacscript/tree/main/packages/eslint-plugin-isaacscript) - A plugin that provides a collection of miscellaneous rules that help keep code safe.
|
|
207
207
|
- [`eslint-plugin-eslint-comments`](https://github.com/mysticatea/eslint-plugin-eslint-comments) - A plugin that provides rules relating to ESLint comments.
|
|
208
208
|
- [`eslint-plugin-import`](https://github.com/benmosher/eslint-plugin-import) - Required as a peer dependency for `eslint-config-airbnb-base`.
|
|
209
209
|
- [`eslint-plugin-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc) - A plugin that provides rules for [JSDoc](https://en.wikipedia.org/wiki/JSDoc).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "A linting dependency meta-package for IsaacScript and TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaacscript",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"type": "commonjs",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@prettier/plugin-xml": "^2.2.0",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
26
|
-
"@typescript-eslint/parser": "^5.
|
|
27
|
-
"cspell": "^6.
|
|
28
|
-
"eslint": "^8.
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
|
26
|
+
"@typescript-eslint/parser": "^5.28.0",
|
|
27
|
+
"cspell": "^6.1.2",
|
|
28
|
+
"eslint": "^8.17.0",
|
|
29
29
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
30
30
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
31
31
|
"eslint-config-isaacscript": "^1.2.2",
|
|
32
32
|
"eslint-config-prettier": "^8.5.0",
|
|
33
33
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
34
34
|
"eslint-plugin-import": "^2.26.0",
|
|
35
|
-
"eslint-plugin-isaacscript": "^1.3.
|
|
35
|
+
"eslint-plugin-isaacscript": "^1.3.7",
|
|
36
36
|
"eslint-plugin-jsdoc": "^39.3.2",
|
|
37
37
|
"eslint-plugin-only-warn": "^1.0.3",
|
|
38
38
|
"eslint-plugin-sort-exports": "^0.6.0",
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
"ts-prune": "^0.10.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"typescript": "4.
|
|
44
|
+
"typescript": "^4.7.3"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|