mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:prettier/recommended",
|
|
"plugin:import/recommended",
|
|
"next"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 11,
|
|
"sourceType": "module"
|
|
},
|
|
"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"]
|
|
}
|
|
}
|
|
},
|
|
"rules": {
|
|
"no-console": "error",
|
|
"react/display-name": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": "off",
|
|
"import/no-anonymous-default-export": "off",
|
|
"@next/next/no-img-element": "off"
|
|
},
|
|
"globals": {
|
|
"React": "writable"
|
|
}
|
|
}
|