mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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",
|
||||
"rules": {
|
||||
"discourse-ember/global-ember": 2
|
||||
"discourse-ember/global-ember": 2,
|
||||
"eol-last": 2
|
||||
},
|
||||
"globals": {
|
||||
"moduleFor": "off",
|
||||
|
|
|
@ -2,12 +2,10 @@ module.exports = {
|
|||
extends: "recommended",
|
||||
ignore: ["**/*.raw"],
|
||||
|
||||
// Pending:
|
||||
// "eol-last": "always",
|
||||
|
||||
rules: {
|
||||
"block-indentation": true,
|
||||
"deprecated-render-helper": true,
|
||||
"eol-last": "always",
|
||||
"linebreak-style": true,
|
||||
"link-rel-noopener": "strict",
|
||||
"no-abstract-roles": true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user