Upgrade to Gatsby v2

This commit is contained in:
alxshelepenok
2018-11-09 20:08:48 +03:00
parent e83dfc6dff
commit 8b92891329
204 changed files with 18708 additions and 3904 deletions

View File

@@ -1,8 +1,15 @@
{
"parser": "babel-eslint",
"extends": "airbnb",
"extends": "airbnb-base",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest/globals": true
},
"plugins": [
"react",
"jest",
"jsx-a11y",
"import"
],
@@ -10,16 +17,49 @@
"graphql": true
},
"rules": {
"react/jsx-filename-extension": [0],
"react/prefer-stateless-function": [0],
"react/prop-types": [0],
"import/no-extraneous-dependencies": [0],
"comma-dangle": ["error", "never"],
"jsx-a11y/anchor-is-valid": [0],
"prefer-destructuring": [0],
"object-curly-newline": ["error", { "multiline": true, "minProperties": 5 }],
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
"import/extensions": [0],
"no-console": "off"
"comma-dangle": 0,
"import/imports-first": 0,
"global-require": 0,
"class-methods-use-this": 0,
"arrow-body-style": [
2,
"as-needed"
],
"arrow-parens": [
"error",
"always"
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"no-debugger": 0,
"dot-notation": 0,
"no-console": 0,
"new-cap": 0,
"strict": 0,
"no-param-reassign": [
"error",
{
"props": false
}
],
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"eol-last": 0,
"no-shadow": 0,
"quotes": [
2,
"single"
],
"jsx-quotes": [
0,
"prefer-single"
],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
}
}