Skip to content

Commit

Permalink
Merge pull request airbnb#272 from RobLoach/eslint
Browse files Browse the repository at this point in the history
Add ESLint support
  • Loading branch information
hshoff committed Apr 8, 2015
2 parents d5cddf8 + 87ea890 commit b893ce0
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions linters/eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
env:
browser: true
node: true

rules:
no-new-object: 2
no-reserved-keys: 2
no-array-constructor: 2
quotes: [2, "single"]
indent: [2, 2]
no-multi-str: 2
no-multi-spaces: 2
no-shadow-restricted-names: 2
dot-notation: 2
block-scoped-var: 2
vars-on-top: 2
no-unused-vars: 2
eqeqeq: 2
use-isnan: 2
no-eq-null: 2
brace-style: 2
spaced-line-comment: 2
valid-jsdoc: 2
space-infix-ops: 2
eol-last: 2
padded-blocks: [2, "never"]
space-before-blocks: 2
comma-dangle: [2, "never"]
comma-style: 2
semi: [2, always]
semi-spacing: 2
no-extra-boolean-cast: 2
space-before-function-paren: [2, "never"]
no-spaced-func: 2
no-wrap-func: 2
one-var: [2, "never"]
camelcase: 2
new-cap: 2
consistent-this: [1, "_this"]
func-names: 2
key-spacing: 2
no-dupe-keys: 2
strict: 2

0 comments on commit b893ce0

Please sign in to comment.