mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 14:38:22 +08:00
Tweak eslint rules
This commit is contained in:
parent
212880640d
commit
ab56e2ca38
|
@ -138,7 +138,6 @@
|
||||||
}],
|
}],
|
||||||
"comma-style": [2, "last"], // http://eslint.org/docs/rules/comma-style
|
"comma-style": [2, "last"], // http://eslint.org/docs/rules/comma-style
|
||||||
"eol-last": 2, // http://eslint.org/docs/rules/eol-last
|
"eol-last": 2, // http://eslint.org/docs/rules/eol-last
|
||||||
"func-names": 1, // http://eslint.org/docs/rules/func-names
|
|
||||||
"key-spacing": [2, { // http://eslint.org/docs/rules/key-spacing
|
"key-spacing": [2, { // http://eslint.org/docs/rules/key-spacing
|
||||||
"beforeColon": false,
|
"beforeColon": false,
|
||||||
"afterColon": true
|
"afterColon": true
|
||||||
|
|
|
@ -138,7 +138,6 @@
|
||||||
}],
|
}],
|
||||||
"comma-style": [2, "last"], // http://eslint.org/docs/rules/comma-style
|
"comma-style": [2, "last"], // http://eslint.org/docs/rules/comma-style
|
||||||
"eol-last": 2, // http://eslint.org/docs/rules/eol-last
|
"eol-last": 2, // http://eslint.org/docs/rules/eol-last
|
||||||
"func-names": 1, // http://eslint.org/docs/rules/func-names
|
|
||||||
"key-spacing": [2, { // http://eslint.org/docs/rules/key-spacing
|
"key-spacing": [2, { // http://eslint.org/docs/rules/key-spacing
|
||||||
"beforeColon": false,
|
"beforeColon": false,
|
||||||
"afterColon": true
|
"afterColon": true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user