eslint-config-angular-strict 2.3.14 → 2.3.15
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 +6 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -128,17 +128,18 @@ export default [
|
|
|
128
128
|
'error',
|
|
129
129
|
{ selector: 'accessor', format: ['camelCase'], leadingUnderscore: 'forbid', modifiers: ['public'] },
|
|
130
130
|
{ selector: 'accessor', format: ['camelCase'], leadingUnderscore: 'require', modifiers: ['private'] },
|
|
131
|
+
{ selector: 'classProperty', format: ['camelCase'], leadingUnderscore: 'forbid', modifiers: ['public'] },
|
|
132
|
+
{ selector: 'classProperty', format: ['camelCase'], leadingUnderscore: 'require', modifiers: ['private'] },
|
|
133
|
+
{ selector: 'function', format: ['camelCase'] },
|
|
134
|
+
{ selector: 'import', format: ['camelCase'] },
|
|
131
135
|
{ selector: 'memberLike', format: ['camelCase'], leadingUnderscore: 'forbid', modifiers: ['public'] },
|
|
132
136
|
{ selector: 'memberLike', format: ['camelCase'], leadingUnderscore: 'require', modifiers: ['private'] },
|
|
133
137
|
{ selector: 'method', format: ['camelCase'], leadingUnderscore: 'forbid', modifiers: ['public'] },
|
|
134
138
|
{ selector: 'method', format: ['camelCase'], leadingUnderscore: 'require', modifiers: ['private'] },
|
|
135
|
-
{ selector: 'classProperty', format: ['camelCase'], leadingUnderscore: 'forbid', modifiers: ['public'] },
|
|
136
|
-
{ selector: 'classProperty', format: ['camelCase'], leadingUnderscore: 'require', modifiers: ['private'] },
|
|
137
139
|
{ selector: 'objectLiteralProperty', format: null },
|
|
138
|
-
{ selector: 'typeProperty', format: ['camelCase'] },
|
|
139
|
-
{ selector: 'typeLike', format: ['PascalCase'] },
|
|
140
|
-
{ selector: 'function', format: ['camelCase'] },
|
|
141
140
|
{ selector: 'parameter', format: ['camelCase'], trailingUnderscore: 'allow' },
|
|
141
|
+
{ selector: 'typeLike', format: ['PascalCase'] },
|
|
142
|
+
{ selector: 'typeProperty', format: ['camelCase'] },
|
|
142
143
|
{ selector: 'variable', format: ['camelCase', 'UPPER_CASE'] },
|
|
143
144
|
],
|
|
144
145
|
'@typescript-eslint/no-base-to-string': 'error',
|