Files
landing-app/landing/eslint.config.mjs
2026-08-30 21:11:59 +02:00

39 lines
892 B
JavaScript

import nx from "@nx/eslint-plugin";
import baseConfig from "../eslint.config.mjs";
export default [
...nx.configs["flat/angular"],
...nx.configs["flat/angular-template"],
...baseConfig,
{
files: [
"**/*.ts"
],
rules: {
"@angular-eslint/directive-selector": [
"error",
{
type: "attribute",
prefix: "app",
style: "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
type: "element",
prefix: "app",
style: "kebab-case"
}
]
}
},
{
files: [
"**/*.html"
],
// Override or add rules here
rules: {}
}
];