stylelint modern linter that helps you avoid errors and enforce conventions in your styles for you SASS applications.
yarn add stylelint @linters/stylelint-scss-config -D
Create a .stylelintrc.js file with the following contents:
module.exports = {
extends: ['@linters/stylelint-scss-config'],
}