chore(DX): Add prettier to eslint config for use with editors

This commit is contained in:
Jay Sitter 2023-06-26 10:37:21 -04:00
parent ba8728ecc7
commit 17710d492c

View file

@ -3,7 +3,7 @@
"env": { "env": {
"browser": true "browser": true
}, },
"plugins": ["@typescript-eslint", "jsx-a11y"], "plugins": ["@typescript-eslint", "jsx-a11y", "prettier"],
"extends": [ "extends": [
"eslint:recommended", "eslint:recommended",
"plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended",
@ -41,6 +41,7 @@
"no-var": 0, "no-var": 0,
"prefer-const": 1, "prefer-const": 1,
"prefer-rest-params": 0, "prefer-rest-params": 0,
"prettier/prettier": "error",
"quote-props": 0, "quote-props": 0,
"unicorn/filename-case": 0 "unicorn/filename-case": 0
} }