@lenne.tech/eslint-config-angular 0.0.15 → 0.0.16
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/index.js +2 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10,13 +10,14 @@ module.exports = {
|
|
|
10
10
|
"plugin:@angular-eslint/recommended",
|
|
11
11
|
// This is required if you use inline templates in Components
|
|
12
12
|
"plugin:@angular-eslint/template/process-inline-templates",
|
|
13
|
-
"plugin:perfectionist/recommended-natural"
|
|
13
|
+
"plugin:perfectionist/recommended-natural",
|
|
14
14
|
],
|
|
15
15
|
rules: {
|
|
16
16
|
/**
|
|
17
17
|
* Any TypeScript source code (NOT TEMPLATE) related rules you wish to use/reconfigure over and above the
|
|
18
18
|
* recommended set provided by the @angular-eslint project would go here.
|
|
19
19
|
*/
|
|
20
|
+
"perfectionist/sort-classes": "off",
|
|
20
21
|
"@angular-eslint/directive-selector": [
|
|
21
22
|
"error",
|
|
22
23
|
{ type: "attribute", prefix: "app", style: "camelCase" },
|
|
@@ -48,8 +49,6 @@ module.exports = {
|
|
|
48
49
|
],
|
|
49
50
|
ignorePatterns: ["**/*.js"],
|
|
50
51
|
rules: {
|
|
51
|
-
"perfectionist/sort-classes": "off",
|
|
52
|
-
|
|
53
52
|
// TS
|
|
54
53
|
"@typescript-eslint/ban-ts-comment": [
|
|
55
54
|
"error",
|