Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
knervous committed Mar 14, 2020
1 parent 69bc3b9 commit d4c8a0d
Show file tree
Hide file tree
Showing 29 changed files with 4,410 additions and 832 deletions.
115 changes: 115 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"env": {
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": "react-app",
"rules": {
"jsx-a11y/anchor-is-valid": 0,
"semi": ["error", "always"],
"curly": "error",
"no-unused-vars": [
"warn",
{
"vars": "all",
"args": "after-used",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"prefer-const": "error",
"brace-style": "error",
"no-debugger": "error",
"no-useless-return": "error",
"block-scoped-var": "error",
"default-case": "error",
"no-else-return": "error",
"no-eq-null": "error",
"no-floating-decimal": "error",
"no-loop-func": "error",
"prefer-template": "error",
"spaced-comment": "error",
"space-before-blocks": ["error", "always"],
"keyword-spacing": [
"error",
{
"after": true
}
],
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}
],
"space-infix-ops": "error",
"template-curly-spacing": ["error", "never"],
"arrow-spacing": [
"error",
{
"before": true,
"after": true
}
],
"semi-spacing": [
"error",
{
"before": false,
"after": true
}
],
"object-curly-spacing": ["error", "always"],
"key-spacing": [
"error",
{
"beforeColon": false,
"afterColon": true,
"mode": "strict",
"align": "colon"
}
],
"comma-spacing": [
"error",
{
"before": false,
"after": true
}
],
"prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": true,
"allowUnboundThis": true
}
],
"quotes": ["error", "single"],
"no-var": "error",
"no-console": [
"warn",
{
"allow": ["error", "warn"]
}
],
"no-alert": "error",
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"space-in-parens": ["error", "never"],
"no-extra-semi": "error",
"no-multi-spaces": ["error"],
"no-unmodified-loop-condition": "error",
"no-useless-concat": "error",
"prefer-spread": "error",
"complexity": ["error", 42]
}
}

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
/dist

# testing
/coverage
Expand Down
Loading

0 comments on commit d4c8a0d

Please sign in to comment.