eslint-plugin-scss-import-last

1.0.11 • Public • Published

eslint-plugin-scss-import-last

Rule to sort scss imports, so they're the last ones with one empty line before them. Any other empty lines between imports will be deleted. Currently, no support for mixed imports and exports.

Usage

npm i --save-dev eslint-plugin-scss-import-last

or

yarn add --dev eslint-plugin-scss-import-last

.eslintrc.js

{
  plugins: [
    'scss-import-last'
  ],
  rules: {
    'scss-import-last/scss-import-last': 'error',
  }
}

Install

npm i eslint-plugin-scss-import-last

DownloadsWeekly Downloads

26

Version

1.0.11

License

MIT

Unpacked Size

4.82 kB

Total Files

5

Last publish

Collaborators

  • s3bastian