enable eol-last for eslint and ember-template-lint (#12678)
enable eol-last for eslint and ember-template-lint Fixed a handlful of .hbs files where newlines weren't present
This commit is contained in:
parent
abe588c2c8
commit
c45dbe4159
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"extends": "eslint-config-discourse",
|
"extends": "eslint-config-discourse",
|
||||||
"rules": {
|
"rules": {
|
||||||
"discourse-ember/global-ember": 2
|
"discourse-ember/global-ember": 2,
|
||||||
|
"eol-last": 2
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"moduleFor": "off",
|
"moduleFor": "off",
|
||||||
|
|
|
@ -2,12 +2,10 @@ module.exports = {
|
||||||
extends: "recommended",
|
extends: "recommended",
|
||||||
ignore: ["**/*.raw"],
|
ignore: ["**/*.raw"],
|
||||||
|
|
||||||
// Pending:
|
|
||||||
// "eol-last": "always",
|
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
"block-indentation": true,
|
"block-indentation": true,
|
||||||
"deprecated-render-helper": true,
|
"deprecated-render-helper": true,
|
||||||
|
"eol-last": "always",
|
||||||
"linebreak-style": true,
|
"linebreak-style": true,
|
||||||
"link-rel-noopener": "strict",
|
"link-rel-noopener": "strict",
|
||||||
"no-abstract-roles": true,
|
"no-abstract-roles": true,
|
||||||
|
|
Loading…
Reference in New Issue