mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 09:45:56 +01:00
35 lines
680 B
Plaintext
35 lines
680 B
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:jsx-a11y/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"plugins": ["react", "graphql", "prettier", "jsx-a11y"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
"modules": true
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"rules": {
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "never"],
|
|
"object-curly-spacing": ["error", "always"],
|
|
"prettier/prettier": "error"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "16"
|
|
}
|
|
}
|
|
}
|