mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 03:24:05 -08:00
35 lines
743 B
JSON
35 lines
743 B
JSON
|
{
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"extends": [
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:prettier/recommended"
|
||
|
],
|
||
|
"rules": {
|
||
|
"@typescript-eslint/explicit-function-return-type": ["off"],
|
||
|
"eol-last": [
|
||
|
"error",
|
||
|
"always"
|
||
|
],
|
||
|
"object-curly-spacing": [
|
||
|
"error",
|
||
|
"always"
|
||
|
],
|
||
|
"prefer-const": "warn",
|
||
|
"comma-dangle": [
|
||
|
"error",
|
||
|
{
|
||
|
"arrays": "always-multiline",
|
||
|
"objects": "always-multiline",
|
||
|
"imports": "always-multiline"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"plugins": [
|
||
|
"prettier"
|
||
|
],
|
||
|
"ignorePatterns": ["node_modules/"],
|
||
|
"parserOptions": {
|
||
|
"sourceType": "module"
|
||
|
}
|
||
|
}
|