Created by: Jenselme
chore(lint): correctly lint SCSS files
stylelint --syntax scss app/**/*.scssin the stylelint caused problems since it is platform dependent. It works on Windows but not on Linux (eg in the bitbucket pipelines). In order for it to work on Linux, we need to put the files in quotes:
stylelint --syntax scss 'app/**/*.scss'
But then it doesn't work on Windows.
To solve this, we move the linting into a custom nodejs script and we update the npm stylelint script accordingly. It works on Linux and Windows and shouldn't cause any trouble on other platforms.
style(home-slider): fix SCSS lint errors
chore(lint): remove deprecation warnings when running stylelint
- Update the base configuration
- Use the stylelint-order plugin to check for properties order