Skip to content

Commit 415f5cb

Browse files
author
Sam Thorogood
committed
add gts
1 parent 18be6e5 commit 415f5cb

15 files changed

+1692
-120
lines changed

.eslintrc.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "./node_modules/gts/",
3+
"parserOptions": {
4+
"sourceType": "module"
5+
},
6+
"rules": {
7+
"node/no-unsupported-features/es-syntax": "off"
8+
}
9+
}

.prettierrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('gts/.prettierrc.json')
3+
}

gulp-tasks/sass.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ const sass = () => {
3939
cleanCSS(
4040
isProduction
4141
? {
42-
level: 2
42+
level: 2,
4343
}
4444
: {}
4545
)
4646
)
4747
.pipe(dest(calculateOutput, {sourceMaps: !isProduction}));
4848
};
4949

50-
module.exports = sass;
50+
module.exports = sass;

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ exports.default = parallel(sass);
1616

1717
// This is our watcher task that instructs gulp to watch directories and
1818
// act accordingly
19-
exports.watch = watcher;
19+
exports.watch = watcher;

0 commit comments

Comments
 (0)