Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from moonmeister/update-deps
Browse files Browse the repository at this point in the history
chore: update deps and fix react version warning
  • Loading branch information
moonmeister committed Dec 12, 2019
2 parents 684fc7d + a2447c0 commit 29aec84
Show file tree
Hide file tree
Showing 3 changed files with 3,485 additions and 2,928 deletions.
86 changes: 43 additions & 43 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"plugins": ["react"],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"no-console": "off",
"no-inner-declarations": "off",
"valid-jsdoc": "off",
"require-jsdoc": "off",
"quotes": ["error", "backtick"],
"consistent-return": ["error"],
"arrow-body-style": [
"error",
"as-needed",
{ "requireReturnForObjectLiteral": true }
],
"plugins": [
"react"
"jsx-quotes": ["error", "prefer-double"],
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"rules": {
"no-console": "off",
"no-inner-declarations": "off",
"valid-jsdoc": "off",
"require-jsdoc": "off",
"quotes": ["error", "backtick"],
"consistent-return": ["error"],
"arrow-body-style": [
"error",
"as-needed",
{ "requireReturnForObjectLiteral": true }
],
"jsx-quotes": ["error", "prefer-double"],
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"react/prop-types": [
"error",
{
"ignore": ["children"]
}
]
"react/prop-types": [
"error",
{
"ignore": ["children"]
}
}
]
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "^5.9.0",
"cross-env": "^6.0.3",
"eslint": "^6.7.2",
"eslint-plugin-react": "^7.11.1",
"gatsby": "^2.0.45",
"jest": "^24.7.1",
Expand Down

0 comments on commit 29aec84

Please sign in to comment.