conditions
Version:
A javascript configuration engine
156 lines (155 loc) • 2.56 kB
Plain Text
{
"env": {
"jasmine": true,
"node": true
},
"globals": {
"Promise": true,
"WeakMap": true
},
"rules": {
"ecmaVersion": 6,
"no-bitwise": 2,
"camelcase": [
2,
{
"properties": "never"
}
],
"curly": [
2,
"all"
],
"eqeqeq": 2,
"guard-for-in": 2,
"no-extend-native": 2,
"wrap-iife": 2,
"no-use-before-define": 0,
"new-cap": 2,
"no-caller": 2,
"no-empty": [
2,
{
"allowEmptyCatch": true
}
],
"no-irregular-whitespace": 2,
"no-new": 2,
"no-plusplus": 0,
"quotes": [
2,
"single"
],
"no-undef": 2,
"no-unused-vars": 2,
"strict": 0,
"max-params": 0,
"max-depth": [
2,
5
],
"max-statements": 0,
"complexity": 0,
"max-len": [
2,
100
],
"no-var": 0,
"semi": 0,
"no-cond-assign": 0,
"no-debugger": 0,
"no-eq-null": 2,
"no-eval": 0,
"no-unused-expressions": 0,
"block-scoped-var": 0,
"no-iterator": 0,
"linebreak-style": [
2,
"unix"
],
"comma-style": [
2,
"last"
],
"no-loop-func": 0,
"no-multi-str": 2,
"require-yield": 0,
"valid-typeof": 0,
"no-proto": 0,
"no-script-url": 0,
"no-shadow": 2,
"dot-notation": 2,
"no-new-func": 0,
"no-new-wrappers": 0,
"no-invalid-this": 2,
"no-underscore-dangle": 2,
"no-implicit-coercion": [
2,
{
"boolean": false,
"string": true,
"number": false
}
],
"brace-style": 0,
"no-with": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": 2,
"one-var": [
2,
"always"
],
"padded-blocks": 0,
"quote-props": [
2,
"as-needed"
],
"keyword-spacing": [
2,
{}
],
"spaced-comment": [
2,
"always"
],
"key-spacing": 0,
"space-unary-ops": 0,
"space-before-blocks": [
2,
"always"
],
"space-before-function-paren": [
2,
"always"
],
"array-bracket-spacing": [
2,
"always"
],
"space-in-parens": 0,
"comma-dangle": 0,
"no-trailing-spaces": 2,
"yoda": [
2,
"never"
],
"eol-last": 2,
"operator-linebreak": [
2,
"after"
],
"space-infix-ops": 2,
"consistent-this": [
2,
"self"
],
"indent": [
2,
4,
{
"SwitchCase": 1
}
],
"valid-jsdoc": 2
}
}