Skip to content

Commit

Permalink
prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Apr 18, 2020
1 parent 47d32e6 commit 3c8b68f
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,35 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"rules": {
"indent": [
"warn",
"tab",
{
"SwitchCase": 1
}
],
"linebreak-style": [
"warn",
"unix"
],
"quotes": [
"warn",
"single"
],
"semi": [
"warn",
"always"
]
}
}
1 change: 1 addition & 0 deletions .prettierignore.json
@@ -0,0 +1 @@
{}
8 changes: 8 additions & 0 deletions .prettierrc.json
@@ -0,0 +1,8 @@
{
"tabWidth": 3,
"useTabs": true,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "always"
}

0 comments on commit 3c8b68f

Please sign in to comment.