@antfu/eslint-config 7.2.0 → 7.4.0

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 CHANGED
@@ -720,6 +720,25 @@ Running `npx eslint` should prompt you to install the required dependencies, oth
720
720
  npm i -D @unocss/eslint-plugin
721
721
  ```
722
722
 
723
+ #### Angular
724
+
725
+ To enable Angular support, you need to explicitly turn it on:
726
+
727
+ ```js
728
+ // eslint.config.js
729
+ import antfu from '@antfu/eslint-config'
730
+
731
+ export default antfu({
732
+ angular: true,
733
+ })
734
+ ```
735
+
736
+ Running `npx eslint` should prompt you to install the required dependencies, otherwise, you can install them manually:
737
+
738
+ ```bash
739
+ npm i -D @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
740
+ ```
741
+
723
742
  ### Optional Rules
724
743
 
725
744
  This config also provides some optional plugins/rules for extended usage.
package/dist/cli.mjs CHANGED
@@ -9,7 +9,7 @@ import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
 
11
11
  //#region package.json
12
- var version = "7.2.0";
12
+ var version = "7.4.0";
13
13
 
14
14
  //#endregion
15
15
  //#region src/cli/constants.ts
@@ -172,15 +172,15 @@ async function updateEslintFiles(result) {
172
172
  //#endregion
173
173
  //#region src/cli/constants-generated.ts
174
174
  const versionsMap = {
175
- "@eslint-react/eslint-plugin": "^2.7.2",
176
- "@next/eslint-plugin-next": "^16.1.4",
175
+ "@eslint-react/eslint-plugin": "^2.12.2",
176
+ "@next/eslint-plugin-next": "^16.1.6",
177
177
  "@unocss/eslint-plugin": "^66.6.0",
178
178
  "astro-eslint-parser": "^1.2.2",
179
179
  "eslint": "^9.39.2",
180
180
  "eslint-plugin-astro": "^1.5.0",
181
- "eslint-plugin-format": "^1.3.1",
181
+ "eslint-plugin-format": "^1.4.0",
182
182
  "eslint-plugin-react-hooks": "^7.0.1",
183
- "eslint-plugin-react-refresh": "^0.4.26",
183
+ "eslint-plugin-react-refresh": "^0.5.0",
184
184
  "eslint-plugin-solid": "^0.14.5",
185
185
  "eslint-plugin-svelte": "^3.14.0",
186
186
  "prettier-plugin-astro": "^0.14.1",