projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308785b
)
chore(DX): Add prettier to eslint config for use with editors
author
Jay Sitter
<jay@jaysitter.com>
Mon, 26 Jun 2023 14:37:21 +0000
(10:37 -0400)
committer
Jay Sitter
<jay@jaysitter.com>
Mon, 26 Jun 2023 22:30:31 +0000
(18:30 -0400)
.eslintrc.json
patch
|
blob
|
history
diff --git
a/.eslintrc.json
b/.eslintrc.json
index 81257cb39f26a2d5bb480ef04f2ac8deedb85a66..ad777401f402347ff25f9f9efa80dfee05fa4cd2 100644
(file)
--- a/
.eslintrc.json
+++ b/
.eslintrc.json
@@
-3,7
+3,7
@@
"env": {
"browser": true
},
- "plugins": ["@typescript-eslint", "jsx-a11y"],
+ "plugins": ["@typescript-eslint", "jsx-a11y"
, "prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
@@
-41,6
+41,7
@@
"no-var": 0,
"prefer-const": 1,
"prefer-rest-params": 0,
+ "prettier/prettier": "error",
"quote-props": 0,
"unicorn/filename-case": 0
}