detect-engine
Version:
Detect whether you're running on node.js or io.js
91 lines (89 loc) • 3.4 kB
Plain Text
rules:
array-bracket-spacing: [2, "never"]
block-scoped-var: [2]
brace-style: [2, "1tbs", {"allowSingleLine": true}]
camelcase: [2, {properties: "never"}]
consistent-return: [0]
comma-dangle: [0]
comma-spacing: [2, {"before": false, "after": true}]
comma-style: [2, "last"]
curly: [0]
dot-location: [2, "property"]
dot-notation: [0]
no-constant-condition: [0]
eol-last: [2]
eqeqeq: [2]
handle-callback-err: [2, "^(err|error)$"]
indent: [2, 2]
key-spacing: [0]
linebreak-style: [2, "unix"]
new-cap: [0]
no-alert: [0]
new-parens: [2]
no-path-concat: [0]
no-bitwise: [2]
no-cond-assign: [2, "except-parens"]
no-delete-var: [2]
no-duplicate-case: [2]
no-empty: [0]
no-eval: [2]
no-ex-assign: [2]
no-extend-native: [2]
no-extra-bind: [2]
no-extra-boolean-cast: [2]
no-extra-parens: [0]
no-extra-semi: [2]
no-fallthrough: [2]
no-func-assign: [2]
no-implied-eval: [2]
no-irregular-whitespace: [2]
no-lone-blocks: [2]
no-lonely-if: [0]
no-loop-func: [0]
no-mixed-requires: [0]
no-mixed-spaces-and-tabs: [2]
no-multi-spaces: [0]
no-multi-str: [2]
no-multiple-empty-lines: [2, {max: 2}]
no-native-reassign: [2]
no-new: [2]
no-octal-escape: [2]
no-process-exit: [0]
no-redeclare: [2]
no-return-assign: [2]
no-self-compare: [2]
no-sequences: [2]
no-shadow: [0]
no-shadow-restricted-names: [2]
no-spaced-func: [2]
no-sparse-arrays: [2]
no-undef: [2]
no-undefined: [0]
no-unneeded-ternary: [2]
no-unreachable: [2]
no-unused-expressions: [2]
no-unused-vars: [2]
no-use-before-define: [2, "nofunc"]
no-with: [2]
object-curly-spacing: [2, "never"]
operator-assignment: [2, "always"]
operator-linebreak: [2, "after"]
quote-props: [2, "as-needed"]
quotes: [2, "double", "avoid-escape"]
semi-spacing: [2, {"before": false, "after": true}]
semi: [2, "always"]
space-after-keywords: [0]
space-before-blocks: [2, "always"]
space-before-function-paren: [2, {"anonymous": "always", "named": "never"}]
space-in-parens: [2, "never"]
space-infix-ops: [2]
space-return-throw-case: [2]
strict: [2, "global"]
no-underscore-dangle: [0]
use-isnan: [2]
valid-typeof: [2]
wrap-iife: [0]
yoda: [2, "never"]
env:
node: true
browser: true