mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-11-13 16:45:12 +01:00
54 lines
945 B
Plaintext
54 lines
945 B
Plaintext
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended"
|
|
],
|
|
"plugins": [
|
|
"react",
|
|
"graphql",
|
|
"compat"
|
|
],
|
|
"rules": {
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"compat/compat": "error",
|
|
"react/jsx-wrap-multilines": [
|
|
"error",
|
|
{
|
|
"declaration": "parens-new-line",
|
|
"assignment": "parens-new-line",
|
|
"return": "parens-new-line",
|
|
"arrow": "parens-new-line",
|
|
"condition": "parens-new-line",
|
|
"logical": "parens-new-line",
|
|
"prop": "parens-new-line"
|
|
}
|
|
]
|
|
},
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
"modules": true
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"globals": {
|
|
"graphql": true
|
|
},
|
|
"settings": {
|
|
"polyfills": ["promises"]
|
|
}
|
|
}
|