Skip to content

Commit

Permalink
eslintrc and prettierrc files
Browse files Browse the repository at this point in the history
  • Loading branch information
CheezItMan committed Nov 12, 2021
1 parent 00688f8 commit 8e954c5
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"standard"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"jest",
"react",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"max-len": [1, 120, 2, { "ignoreComments": true }],
"no-console": "off",
"quotes": ["warn", "single"],
"camelcase": ["error", {"properties": "always"}],
"semi": ["warn", "always"]
},
"settings": {
"react": {
"version": "detect"
}
}
}
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"semi": true
}
File renamed without changes.

0 comments on commit 8e954c5

Please sign in to comment.