loopback-datasource-juggler/.eslintrc

24 lines
621 B
Plaintext
Raw Normal View History

{
"extends": "loopback",
"parserOptions": {
"ecmaVersion": 2017
},
"rules": {
"max-len": ["error", 110, 4, {
"ignoreComments": true,
"ignoreUrls": true,
"ignorePattern": "^\\s*var\\s.+=\\s*(require\\s*\\()|(/)"
}],
2016-08-16 01:51:36 +00:00
// NOTE(bajtos) we should eventually remove this override
// and fix all of those 100+ violations
2016-08-22 19:55:22 +00:00
"one-var": "off",
"no-unused-expressions": "off",
// TODO(bajtos) move this to eslint-config-loopback
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
}
}