Enforce newline at end of files
Trailing newlines are a common idiom in programming, and enabling this rule will save reviewers nitpicking or overlooking missing trailing newlines. ESLint also supports the `--fix` option to automate fixing some of the problems reported by this rule. There are no current files in the codebase that require fixing to add trailing newlines as verified by `npm run lint`.
This commit is contained in:
parent
fd3de6be2c
commit
5d88b686cf
|
@ -12,6 +12,10 @@
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"eol-last": [
|
||||||
|
"error",
|
||||||
|
"always"
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"error",
|
"error",
|
||||||
2
|
2
|
||||||
|
|
Loading…
Reference in New Issue