isaacscript-lint 1.0.99 → 1.0.102

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/README.md +12 -10
  2. package/package.json +12 -11
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  For more information about IsaacScript, see the [webpage](https://isaacscript.github.io/).
8
8
 
9
- <br />
9
+ <br>
10
10
 
11
11
  ## For Use in a TypeScript / TypeScriptToLua Project
12
12
 
@@ -14,13 +14,13 @@ For more information about IsaacScript, see the [webpage](https://isaacscript.gi
14
14
 
15
15
  See the [installation instructions](#installation-instructions-for-typescript-projects) below.
16
16
 
17
- <br />
17
+ <br>
18
18
 
19
19
  ## For Use With an Isaacscript Mod
20
20
 
21
21
  Use the `isaacscript init` tool to automatically set up a new mod that has `isaacscript-lint` as a dependency and a starting `eslintrc.js` config file.
22
22
 
23
- <br />
23
+ <br>
24
24
 
25
25
  ## Why Code Formatting is Important
26
26
 
@@ -38,7 +38,7 @@ When Rob says that everyone loves `gofmt`, he isn't lying. Programmers across th
38
38
 
39
39
  The root of the problem here is that when people try out a new programming language, they often use the same formatting and conventions that they used in their previous language. This fractures the ecosystem and makes everyone's code inconsistent and hard to read. The lesson of Go is that whenever you code in a new language, you should use the standard style that everyone else uses for that language. In this way, every language can have the superpower that Go has.
40
40
 
41
- <br />
41
+ <br>
42
42
 
43
43
  ## TypeScript Code Formatting - ESLint & Prettier
44
44
 
@@ -56,7 +56,7 @@ Finally, some specific Airbnb rules are disabled, since they don't make much sen
56
56
 
57
57
  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.)
58
58
 
59
- <br />
59
+ <br>
60
60
 
61
61
  ## Installation Instructions for TypeScript Projects
62
62
 
@@ -119,7 +119,7 @@ Create a `tsconfig.eslint.json` file in the root of your repository:
119
119
  }
120
120
  ```
121
121
 
122
- <br />
122
+ <br>
123
123
 
124
124
  ## Adding or Removing Rules
125
125
 
@@ -132,13 +132,13 @@ You can add extra rules (or ignore existing rules) by editing the `rules` sectio
132
132
  },
133
133
  ```
134
134
 
135
- <br />
135
+ <br>
136
136
 
137
137
  ## Integration with VSCode
138
138
 
139
139
  [Visual Studio Code](https://code.visualstudio.com/), or VSCode for short, is the most popular TypeScript editor / IDE.
140
140
 
141
- <br />
141
+ <br>
142
142
 
143
143
  ### Extensions
144
144
 
@@ -193,7 +193,7 @@ Optionally, you can also provide a hint to anyone cloning your repository that t
193
193
  }
194
194
  ```
195
195
 
196
- <br />
196
+ <br>
197
197
 
198
198
  ## Package Documentation
199
199
 
@@ -206,10 +206,12 @@ Optionally, you can also provide a hint to anyone cloning your repository that t
206
206
  - [`eslint-config-airbnb-typescript`](https://github.com/iamturns/eslint-config-airbnb-typescript) - Enhances the Airbnb rules with TypeScript support.
207
207
  - [`eslint-config-isaacscript`](https://github.com/IsaacScript/eslint-config-isaacscript) - Contains the master ESLint configuration.
208
208
  - [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) - Turns off all rules that conflict with Prettier.
209
+ - [`eslint-plugin-comment-length`](https://github.com/lasselupe33/eslint-plugin-comment-length) - A plugin that provides rules for automatically fixing long comments.
209
210
  - [`eslint-plugin-eqeqeq-fix`](https://github.com/Zamiell/eslint-plugin-eqeqeq-fix) - A plugin that provides a better [`eqeqeq`](https://eslint.org/docs/rules/eqeqeq) rule.
210
211
  - [`eslint-plugin-eslint-comments`](https://github.com/mysticatea/eslint-plugin-eslint-comments) - A plugin that provides rules relating to ESLint comments.
211
212
  - [`eslint-plugin-import`](https://github.com/benmosher/eslint-plugin-import) - Required as a peer dependency for `eslint-config-airbnb-base`.
212
213
  - [`eslint-plugin-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc) - A plugin that provides rules for [JSDoc](https://en.wikipedia.org/wiki/JSDoc).
214
+ - [`eslint-plugin-no-array-any`](https://github.com/Zamiell/eslint-plugin-no-array-any) - A plugin to prevent unsafe array declarations.
213
215
  - [`eslint-plugin-no-implicit-map-set-loops`](https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops) - A plugin that prevents unsafe iteration.
214
216
  - [`eslint-plugin-no-let-any`](https://github.com/Zamiell/eslint-plugin-no-let-any) - A plugin to prevent unsafe variable declarations.
215
217
  - [`eslint-plugin-no-template-curly-in-string-fix`](https://github.com/Zamiell/eslint-plugin-no-template-curly-in-string-fix) - A plugin that provides a better [`no-template-curly-in-string`](https://eslint.org/docs/rules/no-template-curly-in-string) rule.
@@ -220,4 +222,4 @@ Optionally, you can also provide a hint to anyone cloning your repository that t
220
222
  - [`prettier-plugin-organize-imports`](https://github.com/simonhaenisch/prettier-plugin-organize-imports) - A plugin used because Prettier will not organize imports automatically. (It has no configuration and is automatically applied to Prettier if it is installed.)
221
223
  - [`ts-prune`](https://github.com/nadeesha/ts-prune) - A tool to look for unused exports, which catches bugs that the `import/no-unused-modules` rule cannot find.
222
224
 
223
- <br />
225
+ <br>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-lint",
3
- "version": "1.0.99",
3
+ "version": "1.0.102",
4
4
  "description": "An updatable linting dependency container for IsaacScript and TypeScript projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,19 +9,20 @@
9
9
  "license": "GPL-3.0",
10
10
  "author": "Zamiell",
11
11
  "dependencies": {
12
- "@prettier/plugin-xml": "^2.0.1",
13
- "@typescript-eslint/eslint-plugin": "^5.17.0",
14
- "@typescript-eslint/parser": "^5.17.0",
15
- "cspell": "^5.19.3",
16
- "eslint": "^8.12.0",
12
+ "@prettier/plugin-xml": "^2.1.0",
13
+ "@typescript-eslint/eslint-plugin": "^5.22.0",
14
+ "@typescript-eslint/parser": "^5.22.0",
15
+ "cspell": "^5.20.0",
16
+ "eslint": "^8.14.0",
17
17
  "eslint-config-airbnb-base": "^15.0.0",
18
- "eslint-config-airbnb-typescript": "^16.1.4",
19
- "eslint-config-isaacscript": "^1.0.62",
18
+ "eslint-config-airbnb-typescript": "^17.0.0",
19
+ "eslint-config-isaacscript": "^1.0.64",
20
20
  "eslint-config-prettier": "^8.5.0",
21
+ "eslint-plugin-comment-length-2": "^0.5.6",
21
22
  "eslint-plugin-eqeqeq-fix": "^1.0.3",
22
23
  "eslint-plugin-eslint-comments": "^3.2.0",
23
- "eslint-plugin-import": "^2.25.4",
24
- "eslint-plugin-jsdoc": "^38.1.4",
24
+ "eslint-plugin-import": "^2.26.0",
25
+ "eslint-plugin-jsdoc": "^39.2.9",
25
26
  "eslint-plugin-no-array-any": "^1.0.2",
26
27
  "eslint-plugin-no-implicit-map-set-loops": "^1.0.3",
27
28
  "eslint-plugin-no-let-any": "^1.0.3",
@@ -29,7 +30,7 @@
29
30
  "eslint-plugin-no-void-return-type": "^1.0.2",
30
31
  "eslint-plugin-only-warn": "^1.0.3",
31
32
  "eslint-plugin-sort-exports": "^0.6.0",
32
- "prettier": "^2.6.1",
33
+ "prettier": "^2.6.2",
33
34
  "prettier-plugin-organize-imports": "^2.3.4",
34
35
  "ts-prune": "^0.10.3"
35
36
  },