mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"root": true,
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"impliedStrict": true,
|
|
"ecmaFeatures": {
|
|
"jsx": false
|
|
}
|
|
},
|
|
"globals": {
|
|
"AggregateError": true
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"mocha": true,
|
|
"es2020": true,
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"sort-imports": [
|
|
"error",
|
|
{
|
|
"allowSeparatedGroups": true,
|
|
"ignoreDeclarationSort": true
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.ts"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:import/typescript",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/no-namespace": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|