mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/eslintrc.json",
|
|
"root": true,
|
|
"extends": ["eslint:recommended", "plugin:import/recommended", "prettier"],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"impliedStrict": true
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": true,
|
|
"typescript": true
|
|
}
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"mocha": true,
|
|
"es2024": true,
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"import/namespace": "off",
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"groups": [
|
|
["builtin"],
|
|
["external"],
|
|
["internal"],
|
|
"parent",
|
|
"sibling",
|
|
"index"
|
|
],
|
|
"alphabetize": {
|
|
"order": "asc",
|
|
"orderImportKind": "asc",
|
|
"caseInsensitive": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.ts"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-duplicate-enum-values": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|