mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 06:29:42 -08:00
5c42b04af7
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
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"
|
|
}
|
|
}
|