mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
test: update header/header ESlint rule configuration to be fixable.
With this change we configure the header/header rule to be fixable.
This commit is contained in:
parent
d1996eb3cf
commit
a8ec1f098e
@ -24,7 +24,20 @@
|
||||
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
||||
"@typescript-eslint/no-unused-expressions": "error",
|
||||
"curly": "error",
|
||||
"header/header": ["error", "block", [{ "pattern": "Copyright Google LLC" }]],
|
||||
"header/header": [
|
||||
"error",
|
||||
"block",
|
||||
[
|
||||
"*",
|
||||
" * @license",
|
||||
" * Copyright Google LLC All Rights Reserved.",
|
||||
" *",
|
||||
" * Use of this source code is governed by an MIT-style license that can be",
|
||||
" * found in the LICENSE file at https://angular.io/license",
|
||||
" "
|
||||
],
|
||||
2
|
||||
],
|
||||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-absolute-path": "error",
|
||||
|
Loading…
x
Reference in New Issue
Block a user