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

Commit 75ef1d3

Browse files
committed
Use shared eslint config
1 parent 73fc861 commit 75ef1d3

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed

Diff for: .eslintrc.yml

+1-42
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,2 @@
11

2-
---
3-
root: true
4-
5-
extends: eslint:recommended
6-
7-
env:
8-
mocha: true
9-
browser: true
10-
es6: true
11-
12-
parserOptions:
13-
ecmaVersion: 6
14-
sourceType: "module"
15-
16-
rules:
17-
quotes: 0
18-
indent: 0
19-
require-jsdoc: 0
20-
eqeqeq: 0
21-
no-invalid-this: 0
22-
default-case: 0
23-
no-nested-ternary: 0
24-
no-underscore-dangle: 0
25-
func-style: 0
26-
new-cap: 0
27-
callback-return: 0
28-
no-loop-func: 0
29-
strict: 0
30-
semi: [1, "always"]
31-
space-before-function-paren: [1, "never"]
32-
space-before-blocks: [1, "always"]
33-
keyword-spacing: [1, {"before": true, "after": true, "overrides": {}}]
34-
no-sequences: 2
35-
dot-notation: 1
36-
dot-location: [2, "property"]
37-
curly: 2
38-
no-case-declarations: 0
39-
no-console: 0
40-
no-shadow: 1
41-
42-
global-require: 2
43-
no-path-concat: 2
2+
extends: shouldjs

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"devDependencies": {
2222
"bluebird": "^3.0.6",
2323
"eslint": "^3.0.0",
24+
"eslint-config-shouldjs": "^1.0.0",
2425
"mocha": "latest",
2526
"mocha-better-spec-reporter": "latest",
2627
"rollup": "0.34.4",

0 commit comments

Comments
 (0)