umami/.eslintrc.json

55 lines
1.2 KiB
JSON
Raw Normal View History

2020-07-17 10:03:38 +02:00
{
"env": {
"browser": true,
2020-08-01 12:34:56 +02:00
"es2020": true,
"node": true
2020-07-17 10:03:38 +02:00
},
2023-02-04 17:59:52 +01:00
"parser": "@typescript-eslint/parser",
2020-07-17 10:03:38 +02:00
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
2023-02-04 17:59:52 +01:00
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:@typescript-eslint/recommended",
"next"
],
"plugins": ["@typescript-eslint","prettier"],
2022-08-29 05:20:54 +02:00
"settings": {
"import/resolver": {
"alias": {
"map": [
["assets", "./assets"],
["components", "./components"],
["db", "./db"],
["hooks", "./hooks"],
["lang", "./lang"],
["lib", "./lib"],
["public", "./public"],
["queries", "./queries"],
["store", "./store"],
["styles", "./styles"]
],
"extensions": [".ts", ".js", ".jsx", ".json"]
}
}
},
2020-07-17 10:03:38 +02:00
"rules": {
2022-08-29 05:20:54 +02:00
"no-console": "error",
"react/display-name": "off",
2020-07-30 09:06:29 +02:00
"react/react-in-jsx-scope": "off",
2022-03-11 04:01:33 +01:00
"react/prop-types": "off",
2022-07-16 08:53:31 +02:00
"import/no-anonymous-default-export": "off",
"@next/next/no-img-element": "off"
2020-07-17 10:03:38 +02:00
},
"globals": {
"React": "writable"
}
}