You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -144,6 +144,15 @@ ESLint support for Angular is provided by [`angular-eslint`](https://github.com/
144
144
}
145
145
]);
146
146
```
147
+
5. Update the `lintFilePatterns`in`angular.json` to include `.ts`, `.html`, and `.js`, and `.mjs` files.
148
+
```json
149
+
"lintFilePatterns": [
150
+
"src/**/*.ts",
151
+
"src/**/*.js",
152
+
"src/**/*.mjs",
153
+
"src/**/*.html"
154
+
]
155
+
```
147
156
5. Evaluate the [project specific rule groups](#evaluate-project-specific-rule-groups) to manually add to your lint configuration. For Angular applications in particular, consider enabling the [`[application-prefix]`](#application-prefix) rule group.
148
157
6. With flat configurations, configurations forsubdirectories must be defined at the root except for projects which are already root configurations. ESLint loads only one flat configuration resolved relative to the working directory (e.g. root). Support for defining configurationsin subdirectories is experimental behind an active feature flag. The angular-eslint builder does not support this feature flag. See ESLint [issue #18385](https://github.com/eslint/eslint/issues/18385).
0 commit comments