Skip to content

Commit

Permalink
Linting config adjustments
Browse files Browse the repository at this point in the history
Per Antonio's comments on PR tahowallet#73
- promises instead of icky callbacks by using the browser global
- most of the prettier config was already default
  • Loading branch information
henryboldi committed Jun 11, 2021
1 parent ba1a16a commit 2106be2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": ["airbnb", "plugin:prettier/recommended"],
"globals": {
"chrome": "readonly"
"browser": "readonly"
},
"rules": {
"react/jsx-one-expression-per-line": [0],
Expand Down
6 changes: 1 addition & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"singleQuote": true,
"trailingComma": "es5",
"requirePragma": false,
"arrowParens": "always",
"prettier.eslintIntegration": true
"semi": false
}

0 comments on commit 2106be2

Please sign in to comment.