mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
66c6dbdc79
add the max-len rule to the aio eslintrc and fix what code breaks such rule PR Close #43439
25 lines
555 B
JSON
25 lines
555 B
JSON
{
|
|
"root": true,
|
|
"extends": "../../.eslintrc.json",
|
|
"overrides": [
|
|
{
|
|
"files": ["*.js"],
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"rules": {
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "always"],
|
|
"no-var": ["error"]
|
|
}
|
|
}
|
|
]
|
|
}
|