mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-29 23:48:11 +01:00
34 lines
662 B
Plaintext
34 lines
662 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
|
|
},
|
|
"rules": {
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "never"],
|
|
"object-curly-spacing": ["error", "always"],
|
|
"prettier/prettier": "error"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "16"
|
|
}
|
|
}
|
|
}
|