Skip to content

Commit a8ec1f0

Browse files
alan-agius4clydin
authored andcommitted
test: update header/header ESlint rule configuration to be fixable.
With this change we configure the header/header rule to be fixable.
1 parent d1996eb commit a8ec1f0

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.eslintrc.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,20 @@
2424
"@typescript-eslint/no-unnecessary-qualifier": "error",
2525
"@typescript-eslint/no-unused-expressions": "error",
2626
"curly": "error",
27-
"header/header": ["error", "block", [{ "pattern": "Copyright Google LLC" }]],
27+
"header/header": [
28+
"error",
29+
"block",
30+
[
31+
"*",
32+
" * @license",
33+
" * Copyright Google LLC All Rights Reserved.",
34+
" *",
35+
" * Use of this source code is governed by an MIT-style license that can be",
36+
" * found in the LICENSE file at https://angular.io/license",
37+
" "
38+
],
39+
2
40+
],
2841
"import/first": "error",
2942
"import/newline-after-import": "error",
3043
"import/no-absolute-path": "error",

0 commit comments

Comments
 (0)