Skip to content

Commit

Permalink
add eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Xheldon committed Jan 7, 2020
1 parent 9009911 commit 07904a3
Show file tree
Hide file tree
Showing 7 changed files with 1,178 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2017,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"plugins": ["prettier", "@typescript-eslint"],
"globals": {
"__rewire_reset_all__": true
},
"env": {
"es6": true
},
"rules": {
"eqeqeq": [1, "allow-null"]
}
}
38 changes: 38 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"jsxBracketSameLine": true,
"singleQuote": true,
"printWidth": 120
}
Loading

0 comments on commit 07904a3

Please sign in to comment.