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',
  }
}

Dependents (0)

Package Sidebar

Install

npm i eslint-plugin-scss-import-last

Weekly Downloads

1

Version

1.0.11

License

MIT

Unpacked Size

4.82 kB

Total Files

5

Last publish

Collaborators

  • s3bastian