guesstimate/.eslintrc.js

37 lines
809 B
JavaScript
Raw Normal View History

2020-04-20 11:14:46 +02:00
module.exports = {
env: {
browser: true
},
extends: [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 2018,
sourceType: "module",
},
rules: {
"react/no-unknown-property": ["error", { ignore: ["class"] }],
},
settings: {
react: {
pragma: "h",
version: "detect"
},
},
overrides: [
{
files: ["*.js"],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
}
}
]
};