Skip to content

Commit

Permalink
dx: update dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyman committed Sep 17, 2022
1 parent f79c6a1 commit ef26c31
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"no-constant-binary-expression": "error",
"no-confusing-arrow": 0,
"no-console": "error",
"no-shadow": "warn",

"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"react/prop-types": 0,

"@typescript-eslint/no-shadow": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{
Expand Down
46 changes: 25 additions & 21 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,30 @@
},
"editor.rulers": [90],
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"eslint.packageManager": "yarn",
"eslint.validate": [
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
},
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
"javascript.suggest.autoImports": false,
"typescript.suggest.autoImports": false
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true,
".env": false
},

"jest.autoRun": "off",
"jest.showCoverageOnLoad": false,

"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}

0 comments on commit ef26c31

Please sign in to comment.