1.0.0 • Published 2 months ago

eslint-plugin-koenvanmeijeren-rules-for-qwik v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

eslint-plugin-rules-for-qwik

ESLint plugin with rules for programming in Qwik.

Installation

Install the plugin with npm:

npm install koenvanmeijeren-eslint-plugin-rules-for-qwik

Usage

In your .eslintrc file, add the rules to your plugins:

{
  "plugins": [
    "koenvanmeijeren-rules-for-qwik"
  ],
  "rules": {
    "koenvanmeijeren-rules-for-qwik/no-direct-scss-imports": "error"
  }
}

Release new version

To release a new version, run the following commands:

npm login
npm run release

Rules

no-direct-scss-imports

This rule checks for direct imports of SCSS files and suggests using the styles object instead.

License

This project is licensed under the MIT License.