You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/.eslintrc.json

70 lines
1.6 KiB

{
"extends": "semistandard",
"env": {
"es6": true,
"browser": true,
"jasmine": true
},
"globals": {
"_t": true,
"__ENV__": true,
"grunt": true,
"CartoNode": true
},
"rules": {
"camelcase": "off",
"no-mixed-operators": "off",
"no-useless-escape": "off",
"prefer-promise-reject-errors": "off",
"comma-dangle": ["error", "never"],
"no-cond-assign": [2, "except-parens"],
"no-console": 2,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": [2, "all"],
"no-extra-semi": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"use-isnan": 2,
"valid-typeof": 2,
"no-unexpected-multiline": 2,
"eqeqeq": [2, "smart"],
"no-else-return": 2,
"no-fallthrough": 2,
"no-implied-eval": 2,
"no-new-func": 2,
"no-new": 2,
"no-octal": 2,
"no-redeclare": 2,
"no-unused-expressions": 2,
"no-useless-call": 2,
"yoda": [2, "never", {
"onlyEquality": true
}],
"no-delete-var": 2,
"no-label-var": 2,
"no-shadow-restricted-names": 2,
"no-undef": 2,
"no-undefined": 2,
"no-unused-vars": 2,
"no-use-before-define": 2,
"no-lonely-if": 2,
"no-nested-ternary": 0,
"no-new-object": 2
}
}