Skip to content

Commit eebaebe

Browse files
authored
Merge pull request #20 from gabrielcsapo/gcsapo/major-dep-upgrade
[chore] upgrades major deps and runs eslint on test
2 parents e5c3365 + 7666abd commit eebaebe

File tree

9 files changed

+406
-1848
lines changed

9 files changed

+406
-1848
lines changed

.eslintrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "eyeglass-dev-eslint",
3+
"rules": {
4+
"no-undef": "off",
5+
"global-strict": "off",
6+
"quotes": "off",
7+
"no-console": "off"
8+
}
9+
}

Gruntfile.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

build/lint.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

build/test.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

gulpfile.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ var stringFunctions = {
4242
}
4343
return rv + ")";
4444
},
45-
"null": function(_n) {
45+
"null": function() {
4646
return "null";
4747
},
48-
"error": function(e) {
48+
"error": function() {
4949
return "ERROR!";
5050
}
5151
};

lib/sass_js_map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function iterateMap(map, callback) {
1717
}
1818
}
1919

20-
function defaultConflictHandler(key, newValue, oldValue) {
20+
function defaultConflictHandler(key, newValue) {
2121
return newValue;
2222
}
2323

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Utilities for working with node-sass.",
55
"main": "lib/index.js",
66
"scripts": {
7-
"test": "./node_modules/.bin/gulp test"
7+
"test": "yarn lint && mocha -R spec test",
8+
"lint": "eslint lib test"
89
},
910
"repository": {
1011
"type": "git",
@@ -22,18 +23,13 @@
2223
"devDependencies": {
2324
"eslint": "^0.14.1",
2425
"eyeglass-dev-eslint": "^1.0.1",
25-
"grunt": "^0.4.5",
26-
"grunt-release": "^0.12.0",
27-
"gulp": "^3.8.11",
28-
"gulp-eslint": "0.4.0",
29-
"gulp-mocha": "^2.0.0",
30-
"mocha": "^2.1.0",
26+
"mocha": "^9.2.0",
3127
"node-sass": "^4.0.0",
3228
"sass": "^1.26.3",
3329
"should": ">= 0.0.1"
3430
},
3531
"volta": {
36-
"node": "10.19.0",
32+
"node": "12.22.0",
3733
"yarn": "1.22.4"
3834
}
3935
}

0 commit comments

Comments
 (0)