isaacscript-lint 6.2.0 → 6.2.2
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 +2 -4
- package/package.json +14 -9
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ Create a `.eslintrc.cjs` file in the root of your repository:
|
|
|
87
87
|
module.exports = {
|
|
88
88
|
extends: [
|
|
89
89
|
// The linter base is the shared IsaacScript config:
|
|
90
|
-
// https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/
|
|
90
|
+
// https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/base.js
|
|
91
91
|
"eslint-config-isaacscript/base",
|
|
92
92
|
],
|
|
93
93
|
|
|
@@ -112,8 +112,6 @@ Note that [the new config format for ESLint that was released in 2023](https://e
|
|
|
112
112
|
|
|
113
113
|
Create a `tsconfig.eslint.json` file in the root of your repository:
|
|
114
114
|
|
|
115
|
-
<!-- cspell:ignore Gruntfile -->
|
|
116
|
-
|
|
117
115
|
```ts
|
|
118
116
|
// A special TypeScript configuration file, used by ESLint only.
|
|
119
117
|
{
|
|
@@ -180,7 +178,7 @@ Additionally, you might also want to install the CSpell extension, which is extr
|
|
|
180
178
|
|
|
181
179
|
- [CSpell](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)
|
|
182
180
|
|
|
183
|
-
Once installed, these extensions provide
|
|
181
|
+
Once installed, these extensions provide a nice dichotomy:
|
|
184
182
|
|
|
185
183
|
- Red squiggly underlines are type-errors from the TypeScript compiler.
|
|
186
184
|
- Yellow squiggly underlines are warnings from ESLint. (Our config uses `eslint-plugin-only-warn` to convert all ESLint errors to warnings.)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-lint",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"description": "A linting dependency meta-package for IsaacScript and TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaacscript",
|
|
@@ -20,14 +20,19 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "Zamiell",
|
|
22
22
|
"type": "module",
|
|
23
|
+
"files": [
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"package.json",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
23
28
|
"dependencies": {
|
|
24
|
-
"@prettier/plugin-xml": "^3.2.
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
26
|
-
"@typescript-eslint/parser": "^6.
|
|
29
|
+
"@prettier/plugin-xml": "^3.2.2",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
31
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
27
32
|
"cspell": "^7.3.8",
|
|
28
|
-
"cspell-check-unused-words": "^1.0.
|
|
29
|
-
"eslint": "^8.
|
|
30
|
-
"eslint-config-isaacscript": "^4.
|
|
33
|
+
"cspell-check-unused-words": "^1.0.8",
|
|
34
|
+
"eslint": "^8.52.0",
|
|
35
|
+
"eslint-config-isaacscript": "^4.8.1",
|
|
31
36
|
"eslint-config-prettier": "^9.0.0",
|
|
32
37
|
"eslint-plugin-deprecation": "^2.0.0",
|
|
33
38
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
@@ -37,8 +42,8 @@
|
|
|
37
42
|
"eslint-plugin-n": "^16.2.0",
|
|
38
43
|
"eslint-plugin-no-autofix": "^1.2.3",
|
|
39
44
|
"eslint-plugin-only-warn": "^1.1.0",
|
|
40
|
-
"eslint-plugin-unicorn": "^
|
|
41
|
-
"knip": "^2.
|
|
45
|
+
"eslint-plugin-unicorn": "^49.0.0",
|
|
46
|
+
"knip": "^2.39.0",
|
|
42
47
|
"prettier": "^3.0.3",
|
|
43
48
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
44
49
|
"prettier-plugin-packagejson": "^2.4.6",
|