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

Commit d159c16

Browse files
committed
fix(eslint): improved and fixed lint checks
1 parent 8590e4b commit d159c16

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
build/
33
node_modules/
44
lib/
5+
examples/

.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"accessor-pairs": 2,
2121
"array-callback-return": 2,
2222
"block-scoped-var": 2,
23-
"complexity": [1, 2],
23+
"complexity": [2, {"max": 3}],
2424
"consistent-return": 2,
2525
"curly": 2,
2626
"default-case": 2,
2727
"dot-location": [2, "property"],
28-
"dot-notation": [1, {"allowKeywords": false}],
28+
"dot-notation": 2,
2929
"eqeqeq": [2, "always"],
3030
"guard-for-in": 2,
3131
"no-alert": 2,

gulpfile.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const paths = {
3333
* @param {String} [opts.stdio=`inherit`] - spawn environment inherits parent
3434
* @return {Promise<Error>}
3535
*/
36-
function spawnp(proc, args = [], opts = { stdio: `inherit` }) {
36+
function spawnp(proc, args = [], opts = { "stdio": `inherit` }) {
3737
return new Promise((resolve, reject) => {
3838
const child = spawn(proc, args, opts);
3939

0 commit comments

Comments
 (0)