eslint-config-angular-strict 2.2.40 → 2.2.42
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 +7 -7
- package/index.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,10 +20,10 @@ This package includes **ESLint 9** and uses the new **flat configuration format*
|
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
23
|
+
- **Angular**: Standalone components, lifecycle enforcement, component standards, and more...
|
|
24
|
+
- **TypeScript**: Strict typing, member ordering, modern patterns, and more...
|
|
25
|
+
- **Quality**: Modern JavaScript, anti-patterns prevention, performance optimization, and more...
|
|
26
|
+
- **Style**: Airbnb compliance, max length, import organization, and more...
|
|
27
27
|
|
|
28
28
|
## What's Included
|
|
29
29
|
|
|
@@ -38,9 +38,9 @@ This package includes **ESLint 9** and uses the new **flat configuration format*
|
|
|
38
38
|
|
|
39
39
|
## Requirements
|
|
40
40
|
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
41
|
+
- **Angular 18+**
|
|
42
|
+
- **Node.js 18+**
|
|
43
|
+
- **TypeScript 5+**
|
|
44
44
|
|
|
45
45
|
## Installation
|
|
46
46
|
|
package/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import angular from '@angular-eslint/eslint-plugin';
|
|
2
2
|
import angularTemplate from '@angular-eslint/eslint-plugin-template';
|
|
3
3
|
import angularTemplateParser from '@angular-eslint/template-parser';
|
|
4
|
+
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
|
|
4
5
|
import importX from 'eslint-plugin-import-x';
|
|
5
6
|
import stylistic from '@stylistic/eslint-plugin';
|
|
6
7
|
import tsEslint from '@typescript-eslint/eslint-plugin';
|
|
7
8
|
import tsParser from '@typescript-eslint/parser';
|
|
8
9
|
import { configs, rules } from 'eslint-config-airbnb-extended';
|
|
9
|
-
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
|
|
10
10
|
|
|
11
11
|
export default [
|
|
12
12
|
{
|
|
@@ -124,7 +124,9 @@ export default [
|
|
|
124
124
|
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
125
125
|
|
|
126
126
|
// Unicorn rules
|
|
127
|
+
'unicorn/no-abusive-eslint-disable': 'off',
|
|
127
128
|
'unicorn/no-array-for-each': 'off',
|
|
129
|
+
'unicorn/no-useless-promise-resolve-reject': 'off',
|
|
128
130
|
'unicorn/switch-case-braces': 'off',
|
|
129
131
|
},
|
|
130
132
|
},
|