1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00
portfolio/.eslintrc

53 lines
917 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"
}
]
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"graphql": true
},
"settings": {
"polyfills": ["promises"]
}
}