Linebreaks are hard, spacing isn't (#1062)
Because linebreaks are affected by git's `core.autocrlf` rule and I don't feel like adding a `.gitattributes` file yet.
This commit is contained in:
parent
04eaa25ab1
commit
058b25002d
1 changed files with 5 additions and 3 deletions
|
|
@ -67,10 +67,12 @@ module.exports = {
|
||||||
"init-declarations": "off",
|
"init-declarations": "off",
|
||||||
"jsx-quotes": "error",
|
"jsx-quotes": "error",
|
||||||
"key-spacing": "error",
|
"key-spacing": "error",
|
||||||
"keyword-spacing": "off",
|
"keyword-spacing": [
|
||||||
"linebreak-style": [
|
|
||||||
"error",
|
"error",
|
||||||
"unix"
|
{
|
||||||
|
"before": true,
|
||||||
|
"after": true
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"lines-around-comment": "error",
|
"lines-around-comment": "error",
|
||||||
"max-depth": "off",
|
"max-depth": "off",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue