ember-template-lint-plugin-css-modules
v1.0.0
Published
ember-template-lint plugin for ember-css-modules
Downloads
69,518
Readme
ember-template-lint-plugin-css-modules
ember-template-lint plugin for ember-css-modules
Installation
npm install --save-dev ember-template-lint-plugin-css-modules
Usage
// .template-lintrc.js
module.exports = {
plugins: ['ember-template-lint-plugin-css-modules'],
rules: {
'css-modules/static-local-class': true,
},
};
Rules
- no-class – Disallows usage of all
class
attributes - static-local-class – Disallows use of
variable values in
local-class
attributes
Development
- This plugin uses pnpm to manage its dependencies in development.
License
This projects is developed by and © simplabs GmbH and contributors. It is released under the MIT License.