gulp

gulp

DevOps / Build, Test, Deploy / JS Build Tools / JS Task Runners
Needs advice
on
gulpgulp
and
ParcelParcel

Hi, I am at a point when I discovered I need starter templates to kick off my web projects quickly and easily. I want to set-up my template code with the best or rather a packaging tool that is fast in compiling my Sass code and JS. Should I use gulp or Parcel or Webpack.

I need help please, A.S.A.P

READ MORE
5 upvotes188.4K views
Replies (1)
Independent Information Technology and Services Professional at DR. YORAM KORNATZKY LTD
Recommends
on
Parcel
Webpack

Gulp is very old. I would not use it.

It all depends on what framework you are using. They usually come with a bundler. And templates often come with a bundler.

Webpack is the standard Webpack solution. But maybe complicated to use if it does not come with your template or framework. So you may wish to try Parcel first.

READ MORE
5 upvotes6.3K views
Needs advice
on
ESLintESLintSass Lint Sass Lint
and
StylelintStylelint

Scenario: I want to integrate Prettier in our code base which is currently using ESLint (for .js and .scss both). The project is using gulp.

It doesn't feel quite right to me to use ESLint, I wonder if it would be better to use Stylelint or Sass Lint instead.

I completed integrating ESLint + Prettier, Planning to do the same with [ Stylelint || Sasslint || EsLint] + Prettier.

And have gulp 'fix' on file save (Watcher).

Any recommendation is appreciated.

READ MORE
7 upvotes452.1K views
Replies (3)
Senior Frontend Developer at Landbot.io
Recommends
on
ESLint

In the case of .js files I would recommend using both Eslint and Prettier.

You can set up Prettier as an Eslint rule using the following plugin:

https://github.com/prettier/eslint-plugin-prettier

And in order to avoid conflicts between Prettier and Eslint, you can use this config:

https://github.com/prettier/eslint-config-prettier

Which turns off all Eslint rules that are unnecessary or might conflict with Prettier.

READ MORE
6 upvotes1 comment164.8K views
Alex Spieslechner
Alex Spieslechner
August 7th 2020 at 7:05PM

prettier officially discourages the use of eslint-plugin-prettier.

https://prettier.io/docs/en/integrating-with-linters.html

Reply
Software Engineer at SpeedUrWeb
Recommends
on
Stylelint

Pura vida! Well, I had a similar issue and at the end I decided to use Stylelint + Prettier for that job, in our case, we wanted that our linting process includes the SCSS files and not only the JS file, base on that we concluded that using only ESLint to do both things wasn't the best option, so, we integrated prettier with Stylelint, and for that we used a neat plugin that allowed us to use Prettier inside Stylelint here is the link, https://github.com/prettier/stylelint-prettier#recommended-configuration, I hope that this can help you, hasta pronto!, :)

READ MORE
5 upvotes1 comment164.4K views
Carlos Benavides
Carlos Benavides
May 15th 2020 at 8:28PM

Thanks for commenting @Alexis,

Honestly, I did forget what I did at the end, so I just went back to see what was my decision...

and... yes Stylelint was the one.

Reply
View all (3)
CEO at Scrayos UG (haftungsbeschr盲nkt)

gulp is used to package our plugins for the WSC (Woltlab Suite Core) in a fast, convenient and code-driven way. We enjoy the comfort it offers with stuff like the gzip-plugin or tar-packing.

READ MORE
1 upvote14.6K views