Skip to content

Instantly share code, notes, and snippets.

@matesnippets
Last active December 12, 2015 16:07
Show Gist options
  • Select an option

  • Save matesnippets/7805d80c75b13b52c48e to your computer and use it in GitHub Desktop.

Select an option

Save matesnippets/7805d80c75b13b52c48e to your computer and use it in GitHub Desktop.
JavaScript, Link, My curret ESLint settings
env:
browser: true
rules:
brace-style: [2, "stroustrup", { "allowSingleLine": true }]
comma-style: [2, "last"]
default-case: 2
# func-style: [2, "expression"]
guard-for-in: 2
indent: [2, 4, {"SwitchCase": 1}]
no-console: 0
no-floating-decimal: 2
no-nested-ternary: 2
no-undefined: 2
no-underscore-dangle: 0
quotes: [2, "single"]
radix: 2
space-after-keywords: [2, "always"]
space-before-blocks: 2
space-before-function-paren: [2, "never"]
spaced-comment: [2, "always", {exceptions: ["-"]}]
strict: [2, "global"]
wrap-iife: 2
globals:
define: true
require: true
requirejs: true
process: true
module: true
document: true
window: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment