Skip to content

Commit

Permalink
Pass al tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goncy committed Jun 9, 2018
1 parent 2776504 commit 281c8af
Show file tree
Hide file tree
Showing 8 changed files with 1,552 additions and 94 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 80
61 changes: 61 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
module.exports = {
"root": true,
"extends": [
"prettier",
"prettier/react",
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:flowtype/recommended"
],
"plugins": [
"react",
"prettier",
"flowtype",
"cypress"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true,
"jest": true,
"mocha": true,
"cypress/globals": true
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
},
"rules": {
"no-debugger": "off",
"no-console": "off",
"react/prop-types": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }],
"no-unused-vars": [
"error",
{
"args": "after-used",
"ignoreRestSiblings": false
}
],
"prettier/prettier": [
"error",
{
"semi": true,
"bracketSpacing": false,
"trailingComma": "es5",
},
],
}
}
Loading

0 comments on commit 281c8af

Please sign in to comment.