isaacscript-lint 1.0.61 → 1.0.66

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 (3) hide show
  1. package/README.md +9 -5
  2. package/package.json +14 -14
  3. package/update.sh +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ Use the `isaacscript init` tool to automatically set up a new mod that has `isaa
14
14
 
15
15
  <br />
16
16
 
17
- ## For Use in a Typescript Project
17
+ ## For Use in a TypeScript / TypeScriptToLua Project
18
18
 
19
19
  `isaacscript-lint` is a great starting point for any TypeScript project. It's a pain in the ass to get ESLint working with TypeScript and to get everything working properly. Don't clutter your `package.json` file with 15+ different ESlint-related depedencies; just use `isaacscript-lint`.
20
20
 
@@ -62,19 +62,23 @@ Finally, some specific Airbnb rules are disabled, since they don't make much sen
62
62
  - [`@typescript-eslint/parser`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser) - Required as a peer dependency for `eslint-config-airbnb-typescript`.
63
63
  - [`cspell`](https://github.com/streetsidesoftware/cspell) - A spell checker for code that is intended to be paired with the [Code Spell Checker VSCode extension](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker).
64
64
  - [`eslint`](https://github.com/eslint/eslint) - The main linter engine for JavaScript/TypeScript, as explained above.
65
- - [`eslint-config-isaacscript`](https://github.com/IsaacScript/eslint-config-isaacscript) - Contains the ESLint configuration. In turn, it depends on:
66
- - [`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.
67
- - [`eslint-config-airbnb-typescript`](https://github.com/iamturns/eslint-config-airbnb-typescript) - Enhances the Airbnb rules with TypeScript support.
68
- - [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) - Turns off all rules that conflict with Prettier.
65
+ - [`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.
66
+ - [`eslint-config-airbnb-typescript`](https://github.com/iamturns/eslint-config-airbnb-typescript) - Enhances the Airbnb rules with TypeScript support.
67
+ - [`eslint-config-isaacscript`](https://github.com/IsaacScript/eslint-config-isaacscript) - Contains the master ESLint configuration.
68
+ - [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) - Turns off all rules that conflict with Prettier.
69
69
  - [`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.
70
70
  - [`eslint-plugin-eslint-comments`](https://github.com/mysticatea/eslint-plugin-eslint-comments) - A plugin that provides rules relating to ESLint comments.
71
71
  - [`eslint-plugin-import`](https://github.com/benmosher/eslint-plugin-import) - Required as a peer dependency for `eslint-config-airbnb-base`.
72
72
  - [`eslint-plugin-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc) - A plugin that provides rules for [JSDoc](https://en.wikipedia.org/wiki/JSDoc).
73
+ - [`eslint-plugin-no-implicit-map-set-loops`](https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops) - A plugin that prevents unsafe iteration.
73
74
  - [`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.
75
+ - [`eslint-plugin-no-void-return-type`](https://github.com/Zamiell/eslint-plugin-no-void-return-type) - A plugin that disallows void return types on unexported functions.
74
76
  - [`eslint-plugin-only-warn`](https://github.com/bfanger/eslint-plugin-only-warn) - A plugin that turns all errors to warnings.
75
77
  - [`eslint-plugin-prettier`](https://github.com/prettier/eslint-plugin-prettier) - A plugin that runs Prettier as an ESLint rule.
76
78
  - [`isaacscript-tsconfig`](https://github.com/IsaacScript/isaacscript-tsconfig) - A package that provides a shared TypeScript configuration file. This is included in the linting meta-package for convenience.
79
+ - [`prettier`](https://github.com/prettier/prettier) - This is a peer dependency for `eslint-plugin-prettier`.
77
80
  - [`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.)
81
+ - [`ts-prune`](https://github.com/nadeesha/ts-prune) - A tool to look for unused exports, which catchs bugs that the `import/no-unused-modules` rule cannot find.
78
82
 
79
83
  <br />
80
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-lint",
3
- "version": "1.0.61",
3
+ "version": "1.0.66",
4
4
  "description": "An updatable linting dependency container for IsaacScript projects.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,29 +9,29 @@
9
9
  "license": "GPL-3.0",
10
10
  "author": "Zamiell",
11
11
  "dependencies": {
12
- "@typescript-eslint/eslint-plugin": "^4.31.2",
13
- "@typescript-eslint/parser": "^4.31.2",
14
- "cspell": "^5.10.1",
15
- "eslint": "^7.32.0",
16
- "eslint-config-airbnb-base": "^14.2.1",
17
- "eslint-config-airbnb-typescript": "^14.0.0",
18
- "eslint-config-isaacscript": "^1.0.50",
12
+ "@typescript-eslint/eslint-plugin": "^5.4.0",
13
+ "@typescript-eslint/parser": "^5.4.0",
14
+ "cspell": "^5.13.0",
15
+ "eslint": "^8.2.0",
16
+ "eslint-config-airbnb-base": "^15.0.0",
17
+ "eslint-config-airbnb-typescript": "^16.0.0",
18
+ "eslint-config-isaacscript": "^1.0.51",
19
19
  "eslint-config-prettier": "^8.3.0",
20
20
  "eslint-plugin-eqeqeq-fix": "^1.0.3",
21
21
  "eslint-plugin-eslint-comments": "^3.2.0",
22
- "eslint-plugin-import": "^2.24.2",
23
- "eslint-plugin-jsdoc": "^36.1.0",
22
+ "eslint-plugin-import": "^2.25.3",
23
+ "eslint-plugin-jsdoc": "^37.0.3",
24
24
  "eslint-plugin-no-implicit-map-set-loops": "^1.0.3",
25
25
  "eslint-plugin-no-template-curly-in-string-fix": "^1.0.4",
26
26
  "eslint-plugin-no-void-return-type": "^1.0.2",
27
27
  "eslint-plugin-only-warn": "^1.0.3",
28
28
  "eslint-plugin-prettier": "^4.0.0",
29
- "isaacscript-tsconfig": "^1.1.4",
29
+ "isaacscript-tsconfig": "^1.1.5",
30
30
  "prettier": "^2.4.1",
31
- "prettier-plugin-organize-imports": "^2.3.3",
32
- "ts-prune": "^0.10.0"
31
+ "prettier-plugin-organize-imports": "^2.3.4",
32
+ "ts-prune": "^0.10.1"
33
33
  },
34
34
  "peerDependencies": {
35
- "typescript": "^4.4.3"
35
+ "typescript": "4.4.4"
36
36
  }
37
37
  }
package/update.sh CHANGED
@@ -10,7 +10,7 @@ cd "$DIR"
10
10
 
11
11
  PACKAGE_JSON="$DIR/package.json"
12
12
  OLD_HASH=$(md5sum "$PACKAGE_JSON")
13
- npx npm-check-updates --upgrade --packageFile "$PACKAGE_JSON"
13
+ npx npm-check-updates --upgrade --packageFile "$PACKAGE_JSON" --reject typescript
14
14
  NEW_HASH=$(md5sum "$PACKAGE_JSON")
15
15
  if [[ $OLD_HASH != $NEW_HASH ]]; then
16
16
  npm install