update README.md
This commit is contained in:
32
projects/firefox/eslint.config.js
Normal file
32
projects/firefox/eslint.config.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// @ts-check
|
||||
const tseslint = require("typescript-eslint");
|
||||
const rootConfig = require("../../eslint.config.js");
|
||||
|
||||
module.exports = tseslint.config(
|
||||
...rootConfig,
|
||||
{
|
||||
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"],
|
||||
rules: {},
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user