2018-07-11 17:56:13 +02:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
2018-09-30 03:11:08 +02:00
|
|
|
"plugin:jsx-a11y/recommended",
|
2018-07-11 17:56:13 +02:00
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
2018-09-30 03:11:08 +02:00
|
|
|
"plugins": ["react", "graphql", "prettier", "jsx-a11y"],
|
2018-07-11 17:56:13 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true,
|
|
|
|
"modules": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
2019-05-02 21:11:52 +02:00
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
2018-07-11 17:56:13 +02:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"quotes": ["error", "single"],
|
|
|
|
"semi": ["error", "never"],
|
|
|
|
"object-curly-spacing": ["error", "always"],
|
|
|
|
"prettier/prettier": "error"
|
2019-01-01 19:32:49 +01:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "16"
|
|
|
|
}
|
2018-07-11 17:56:13 +02:00
|
|
|
}
|
|
|
|
}
|