Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Use shared eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
btd committed Aug 10, 2016
1 parent 73fc861 commit 75ef1d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
43 changes: 1 addition & 42 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,2 @@

---
root: true

extends: eslint:recommended

env:
mocha: true
browser: true
es6: true

parserOptions:
ecmaVersion: 6
sourceType: "module"

rules:
quotes: 0
indent: 0
require-jsdoc: 0
eqeqeq: 0
no-invalid-this: 0
default-case: 0
no-nested-ternary: 0
no-underscore-dangle: 0
func-style: 0
new-cap: 0
callback-return: 0
no-loop-func: 0
strict: 0
semi: [1, "always"]
space-before-function-paren: [1, "never"]
space-before-blocks: [1, "always"]
keyword-spacing: [1, {"before": true, "after": true, "overrides": {}}]
no-sequences: 2
dot-notation: 1
dot-location: [2, "property"]
curly: 2
no-case-declarations: 0
no-console: 0
no-shadow: 1

global-require: 2
no-path-concat: 2
extends: shouldjs
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"devDependencies": {
"bluebird": "^3.0.6",
"eslint": "^3.0.0",
"eslint-config-shouldjs": "^1.0.0",
"mocha": "latest",
"mocha-better-spec-reporter": "latest",
"rollup": "0.34.4",
Expand Down

0 comments on commit 75ef1d3

Please sign in to comment.