mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 19:44:06 -08:00
5bcf2e6511
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
31 lines
633 B
JSON
31 lines
633 B
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"react-app",
|
|
"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": ["src/vendor/**"]
|
|
}
|