1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Prettier eslint config

This commit is contained in:
Daniel Barber 2023-04-06 21:07:32 -05:00
parent 1f625db553
commit 7f58e8e3e9

View File

@ -1,5 +1,4 @@
{ {
"parser": "babel-eslint",
"rules": { "rules": {
"no-empty": [ "no-empty": [
2, 2,
@ -43,41 +42,20 @@
"after": true "after": true
} }
], ],
"space-before-function-paren": [ "space-before-function-paren": [2, "never"],
2, "space-in-parens": [2, "never"],
"never"
],
"space-in-parens": [
2,
"never"
],
"no-spaced-func": 2, "no-spaced-func": 2,
"comma-dangle": [ "comma-dangle": [2, "always-multiline"],
2,
"always-multiline"
],
"no-trailing-spaces": 2, "no-trailing-spaces": 2,
"no-var": 2, "no-var": 2,
"camelcase": 0, "camelcase": 0,
"comma-style": [ "comma-style": [2, "last"],
2, "curly": [2, "all"],
"last"
],
"curly": [
2,
"all"
],
"dot-notation": 2, "dot-notation": 2,
"object-shorthand": 2, "object-shorthand": 2,
"operator-linebreak": [ "operator-linebreak": [2, "after"],
2,
"after"
],
"arrow-parens": 0, "arrow-parens": 0,
"semi": [ "semi": [2, "always"],
2,
"always"
],
"space-infix-ops": 2, "space-infix-ops": 2,
"keyword-spacing": [ "keyword-spacing": [
2, 2,
@ -95,18 +73,9 @@
} }
} }
], ],
"spaced-comment": [ "spaced-comment": [2, "always"],
2, "space-before-blocks": [2, "always"],
"always" "array-bracket-spacing": [2, "never"],
],
"space-before-blocks": [
2,
"always"
],
"array-bracket-spacing": [
2,
"never"
],
"indent": [ "indent": [
2, 2,
2, 2,