airboardgame/.eslintrc

35 lines
613 B
Text
Raw Normal View History

2020-06-05 22:58:53 +02:00
{
"root": true,
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
2020-06-19 13:49:33 +02:00
"env": {
"browser": true,
"node": true,
2020-06-19 20:08:50 +02:00
"es6": true,
2020-06-19 13:49:33 +02:00
"jest": true
},
"settings": {
2020-06-18 21:16:38 +02:00
"react": {
"version": "detect"
2020-06-19 13:49:33 +02:00
}
2020-06-18 21:16:38 +02:00
},
2020-06-05 22:58:53 +02:00
"parser": "babel-eslint",
"rules": {
2020-06-18 21:08:49 +02:00
"semi": "error",
"react/prop-types": "off"
2020-06-05 22:58:53 +02:00
},
"plugins": ["react-hooks"],
2020-06-18 21:08:49 +02:00
"extends": [
2020-06-19 13:49:33 +02:00
"eslint:recommended",
2020-06-18 21:08:49 +02:00
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"plugin:react/recommended"
]
2020-06-05 22:58:53 +02:00
}