diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-12-01 15:10:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 15:10:19 +0300 |
commit | 7e8ac77fdba8e7d13de133843d32d139da686ab9 (patch) | |
tree | 4c0867006337e4f4641ffa82da906e9f13e6f311 /examples | |
parent | 990c7e6ecb8ed3a6495dbda9816b5ef7bec080e2 (diff) |
Lint tweaks (#422)
* switch to always using a space in object curly braces
* consistently use strict mode
* move a constant outside of the constructor
* use Object spread instead of Object.assign
* use a ternary in more places
* remove redundant parentheses
* enable `prefer-template` rule so that we are consistent
* return early in a few cases
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scss/gulpfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scss/gulpfile.js b/examples/scss/gulpfile.js index 4232d3f..b9d0ecb 100644 --- a/examples/scss/gulpfile.js +++ b/examples/scss/gulpfile.js @@ -5,7 +5,7 @@ const sass = require('gulp-sass')(require('sass')); gulp.task('default', () => { return gulp.src('./src/**/*.scss') - .pipe(sass({outputStyle: 'expanded'}).on('error', sass.logError)) + .pipe(sass({ outputStyle: 'expanded' }).on('error', sass.logError)) .pipe(gulp.dest('./dest')); }); |