Skip to content

Commit

Permalink
Add some other eslint rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-eb committed Sep 18, 2015
1 parent c98f4d4 commit 41a01ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
root: true

rules:
brace-style: [2, '1tbs', { allowSingleLine: false }]
brace-style: [2, '1tbs', {allowSingleLine: false}]
camelcase: [2]
comma-spacing: [2]
curly: [2, 'all']
Expand Down Expand Up @@ -32,6 +32,7 @@ rules:
no-void: [2]
no-warning-comments: [2]
no-with: [2]
object-curly-spacing: [2, 'never']
quote-props: [2, 'as-needed']
radix: [2]
semi: [2, 'always']
Expand All @@ -40,6 +41,7 @@ rules:
space-before-function-paren: [2, 'always']
space-before-blocks: [2, 'always']
space-return-throw-case: [2]
spaced-comment: [2, 'always']
strict: [2, 'global']
yoda: [2, 'never']

Expand Down

0 comments on commit 41a01ca

Please sign in to comment.