Skip to content

Commit c60fbd8

Browse files
committed
Update nsp, eslint
1 parent 23170f5 commit c60fbd8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.eslintrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"comma-spacing": [2],
1717
"comma-style": [2, "last"],
1818
"complexity": [0, 11],
19+
"computed-property-spacing": [2, "never"],
1920
"consistent-return": [2],
2021
"consistent-this": [0, "that"],
2122
"curly": [2, "all"],
@@ -142,6 +143,7 @@
142143
"operator-assignment": [0, "always"],
143144
"operator-linebreak": [2, "none"],
144145
"padded-blocks": [0],
146+
"prefer-const": [0],
145147
"quote-props": [0],
146148
"radix": [0],
147149
"semi": [2],
@@ -162,6 +164,7 @@
162164
"space-infix-ops": [2],
163165
"space-return-throw-case": [2],
164166
"space-unary-ops": [2, { "words": true, "nonwords": false }],
167+
"spaced-comment": [2, "always"],
165168
"spaced-line-comment": [0, "always"],
166169
"strict": [0],
167170
"use-isnan": [2],
@@ -170,6 +173,6 @@
170173
"vars-on-top": [0],
171174
"wrap-iife": [2],
172175
"wrap-regex": [2],
173-
"yoda": [2, "never", { "exceptRange": true }]
176+
"yoda": [2, "never", { "exceptRange": true, "onlyEquality": false }]
174177
}
175178
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"covert": "^1.1.0",
3838
"jscs": "^1.13.1",
3939
"editorconfig-tools": "^0.1.1",
40-
"nsp": "^1.0.1",
41-
"eslint": "^0.22.1",
40+
"nsp": "^1.0.3",
41+
"eslint": "^0.23.0",
4242
"semver": "^4.3.6",
4343
"replace": "^0.3.0"
4444
},

0 commit comments

Comments
 (0)