mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-20 06:31:55 +01:00
73295ff891
Signed-off-by: AllForNothing <sshijun@vmware.com>
45 lines
903 B
JSON
45 lines
903 B
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": [
|
|
"projects/**/*"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts"
|
|
],
|
|
"parserOptions": {
|
|
"project": [
|
|
"tsconfig.json",
|
|
"e2e/tsconfig.json"
|
|
],
|
|
"createDefaultProgram": true
|
|
},
|
|
"extends": [
|
|
"plugin:@angular-eslint/recommended",
|
|
"plugin:@angular-eslint/template/process-inline-templates",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"rules": {
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.html"
|
|
],
|
|
"extends": [
|
|
"plugin:@angular-eslint/template/recommended"
|
|
],
|
|
"rules": {}
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"excludedFiles": ["*inline-template-*.component.html"],
|
|
"extends": ["plugin:prettier/recommended"],
|
|
"rules": {
|
|
"prettier/prettier": ["error", { "parser": "angular" }]
|
|
}
|
|
}
|
|
]
|
|
}
|