Skip to content

Commit 4d895c6

Browse files
committed
Update editorconfig-tools, eslint, semver, replace
1 parent 55e480f commit 4d895c6

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.eslintrc

+7-4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"block-scoped-var": [0],
1212
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
1313
"camelcase": [2],
14+
"comma-dangle": [2, "never"],
1415
"comma-spacing": [2],
1516
"comma-style": [2, "last"],
1617
"complexity": [0, 11],
@@ -40,14 +41,14 @@
4041
"no-bitwise": [0],
4142
"no-caller": [2],
4243
"no-catch-shadow": [2],
43-
"no-comma-dangle": [2],
4444
"no-cond-assign": [2],
4545
"no-console": [2],
4646
"no-constant-condition": [2],
4747
"no-control-regex": [2],
4848
"no-debugger": [2],
4949
"no-delete-var": [2],
5050
"no-div-regex": [0],
51+
"no-dupe-args": [2],
5152
"no-dupe-keys": [2],
5253
"no-else-return": [0],
5354
"no-empty": [2],
@@ -80,7 +81,7 @@
8081
"no-mixed-spaces-and-tabs": [2, false],
8182
"no-multi-spaces": [2],
8283
"no-multi-str": [2],
83-
"no-multiple-empty-lines": [0, {"max": 2}],
84+
"no-multiple-empty-lines": [2, {"max": 1}],
8485
"no-native-reassign": [2],
8586
"no-negated-in-lhs": [2],
8687
"no-nested-ternary": [0],
@@ -112,6 +113,7 @@
112113
"no-sparse-arrays": [2],
113114
"no-sync": [0],
114115
"no-ternary": [0],
116+
"no-throw-literal": [2],
115117
"no-trailing-spaces": [2],
116118
"no-undef": [2],
117119
"no-undef-init": [2],
@@ -131,8 +133,10 @@
131133
"quote-props": [0],
132134
"radix": [0],
133135
"semi": [2],
136+
"semi-spacing": [2, { "before": false, "after": true }],
134137
"sort-vars": [0],
135-
"space-after-keywords": [2, "always", { "checkFunctionKeyword": true }],
138+
"space-after-keywords": [2, "always"],
139+
"space-before-function-parentheses": [2, { "anonymous": "always", "named": "never" }],
136140
"space-before-blocks": [0, "always"],
137141
"space-in-brackets": [0, "never", {
138142
"singleValue": true,
@@ -145,7 +149,6 @@
145149
"space-in-parens": [2, "never"],
146150
"space-infix-ops": [2],
147151
"space-return-throw-case": [2],
148-
"space-after-function-name": [2, "never"],
149152
"space-unary-ops": [2, { "words": true, "nonwords": false }],
150153
"spaced-line-comment": [0, "always"],
151154
"strict": [0],

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@
3636
"tape": "^3.5.0",
3737
"covert": "^1.0.1",
3838
"jscs": "^1.11.3",
39-
"editorconfig-tools": "^0.0.1",
39+
"editorconfig-tools": "^0.1.1",
4040
"nsp": "^1.0.0",
41-
"eslint": "^0.14.1",
42-
"semver": "^4.2.2"
41+
"eslint": "^0.16.1",
42+
"semver": "^4.3.1",
43+
"replace": "^0.3.0"
4344
},
4445
"testling": {
4546
"files": "test.js",

0 commit comments

Comments
 (0)