keycloak-modern-login/.eslintrc.json
2023-02-19 02:02:36 +01:00

41 lines
884 B
JSON

{
"env": {
"browser": true,
"es2021": true
},
"extends": ["plugin:vue/essential", "standard", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": ["vue", "@typescript-eslint", "prettier"],
"rules": {
"prettier/prettier": "error",
"max-lines": [
"error",
{ "max": 300, "skipComments": true, "skipBlankLines": true }
],
"max-lines-per-function": [
"error",
{ "max": 30, "skipComments": true, "skipBlankLines": true }
],
"max-len": ["error", { "code": 120 }],
"import/extensions": [
"error",
"ignorePackages",
{
"ts": "never",
"tsx": "never",
"vue": "never",
"json": "never"
}
]
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
}