Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Pappa committed Feb 23, 2021
1 parent 2affbcb commit 5c2e069
Show file tree
Hide file tree
Showing 24 changed files with 26,178 additions and 10,429 deletions.
69 changes: 34 additions & 35 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
{
"root": true,
"extends": [
"react-app",
"plugin:prettier/recommended",
"plugin:jsx-a11y/recommended"
],
"plugins": ["react-hooks"],
"env": {
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"rules": {
"quotes": ["double"],
"curly": "error",
"no-console": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "lodash",
"message": "Please import specific utility. e.g. import get from \"lodash/get\";"
}
]
}
]
}
"root": true,
"extends": [
"react-app",
"plugin:prettier/recommended",
"plugin:jsx-a11y/recommended"
],
"plugins": ["react-hooks"],
"env": {
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"rules": {
"quotes": ["double"],
"curly": "error",
"no-console": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "lodash",
"message": "Please import specific utility. e.g. import get from \"lodash/get\";"
}
]
}
]
}
}
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore artifacts:
build
coverage
node_modules
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "es5"
}
Loading

0 comments on commit 5c2e069

Please sign in to comment.