@mikey-pro/eslint-config-angular 9.0.5 → 9.0.7

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 +16 -28
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,38 +1,26 @@
1
- <div width="100%" align="center">
2
- <h1>
3
- <a href="https://github.com/chiefmikey/mikey-pro">
4
- <b>Mikey Pro</b>
5
- </a>
6
- </h1>
7
- </div>
1
+ # @mikey-pro/eslint-config-angular
8
2
 
9
- ## **@mikey-pro/eslint-config-angular**
3
+ Angular-specific ESLint configuration extending the core Mikey Pro style guide.
10
4
 
11
- A preset ESLint Angular configuration
5
+ ## Installation
12
6
 
13
- ## Usage
14
-
15
- ### Install
16
-
17
- ```shell
18
- npm i -D mikey-pro @mikey-pro/eslint-config-angular
7
+ ```bash
8
+ npm install @mikey-pro/eslint-config-angular
19
9
  ```
20
10
 
21
- ### Configure (Flat ESLint v9+ Recommended)
11
+ ## Usage
22
12
 
23
- ```js
13
+ ```javascript
24
14
  // eslint.config.js
25
- import angularConfig from '@mikey-pro/eslint-config-angular/flat';
26
-
27
- export default angularConfig;
15
+ export { default } from '@mikey-pro/eslint-config-angular';
28
16
  ```
29
17
 
30
- ### Legacy Configuration (still supported)
18
+ ## Features
31
19
 
32
- ```json
33
- {
34
- "eslintConfig": {
35
- "extends": ["@mikey-pro/eslint-config-angular"]
36
- }
37
- }
38
- ```
20
+ - Angular dependency injection rules
21
+ - Component lifecycle validation
22
+ - Template reference best practices
23
+ - Angular style guide compliance
24
+ - Extends core Mikey Pro configuration
25
+
26
+ See [Mikey Pro](https://github.com/chiefmikey/mikey-pro) for full documentation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config-angular",
3
- "version": "9.0.5",
3
+ "version": "9.0.7",
4
4
  "description": "Mikey Pro ESLint Angular configuration - Ultimate Angular coding style guide",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8,13 +8,13 @@
8
8
  "@angular-eslint/eslint-plugin": "^20.2.0",
9
9
  "@angular-eslint/eslint-plugin-template": "^20.2.0",
10
10
  "@angular-eslint/template-parser": "^20.2.0",
11
- "@mikey-pro/eslint-config": "^9.0.1",
11
+ "@mikey-pro/eslint-config": "file:../eslint-config",
12
12
  "@typescript-eslint/eslint-plugin": "^8.43.0",
13
13
  "@typescript-eslint/parser": "^8.43.0",
14
14
  "eslint-plugin-prettier": "^5.5.4"
15
15
  },
16
16
  "peerDependencies": {
17
- "@mikey-pro/eslint-config": "^9.0.0"
17
+ "@mikey-pro/eslint-config": "file:../eslint-config"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "@angular/core": {
@@ -61,7 +61,7 @@
61
61
  "defaults"
62
62
  ],
63
63
  "engines": {
64
- "node": ">=18.0.0",
64
+ "node": ">=20.0.0",
65
65
  "npm": ">=9.0.0",
66
66
  "pnpm": ">=8.0.0",
67
67
  "yarn": ">=4.0.0"