trailofbits/tubertc

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "ecmaFeatures": {
  },
  "env": {
    "browser": true,
    "jquery": true,
    "node": true
  },
  "globals": {
    "AudioMeter": false,
    "chance": false,
    "Chat": false,
    "ChatCommands": false,
    "Clock": false,
    "DebugConsole": false,
    "Dialog": false,
    "easyrtc": false,
    "ErrorMetric": false,
    "Handlebars": false,
    "Login": false,
    "NavBar": false,
    "ShellQuote": false,
    "SoundClip": false,
    "trtcDash": false,
    "VTCCore": false,
    "vtcMain": false
  },
  "rules": {
    "brace-style": 2,
    "camelcase": 2,
    "comma-dangle": [2, "never"],
    "comma-spacing": [2, { "before": false, "after": true }],
    "comma-style": [2, "last"],
    "complexity": [1, 10],
    "consistent-this": [2, "_this"],
    "curly": 2,
    "default-case": 2,
    "dot-notation": 2,
    "eol-last": 2,
    "eqeqeq": 2,
    "guard-for-in": 1,
    "indent": [2, 4],
    "key-spacing": [2, { "beforeColon": false,
                         "afterColon": true }],
    "new-cap": 2,
    "new-parens": 2,
    "no-caller": 2,
    "no-debugger": 1,
    "no-dupe-args": 2,
    "no-dupe-keys": 2,
    "no-duplicate-case": 2,
    "no-eq-null": 0,
    "no-eval": 2,
    "no-implied-eval": 2,
    "no-invalid-regexp": 2,
    "no-mixed-spaces-and-tabs": 2,
    "no-redeclare": 2,
    "no-self-compare": 1,
    "no-shadow-restricted-names": 2,
    "no-trailing-spaces": 2,
    "no-undef": 2,
    "no-undef-init": 2,
    "no-underscore-dangle": 0,
    "no-unreachable": 2,
    "no-unused-vars": 1,
    "no-use-before-define": 2,
    "no-with": 2,
    "one-var": [2, "never"],
    "operator-assignment": [2, "always"],
    "quotes": [2, "single", "avoid-escape"],
    "quote-props": [2, "as-needed", { "keywords": true }],
    "radix": 2,
    "semi": [2, "always"],
    "semi-spacing": [2, { "before": false, "after": true }],
    "sort-vars": [1, { "ignoreCase": true }],
    "space-after-keywords": [2, "always"],
    "space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
    "space-in-parens": [2, "never"],
    "space-infix-ops": 2,
    "space-unary-ops": [2, { "words": true, "nonwords": false }],
    "strict": [2, "global"],
    "use-isnan": 2,
    "valid-jsdoc": 1,
    "yoda": [2, "never", { "exceptRange": false }]
  }
}