ember-template-lint plugin for ember-css-modules
npm install ember-template-lint-plugin-css-modules[ember-template-lint] plugin for [ember-css-modules]
[ember-template-lint]: https://github.com/ember-template-lint/ember-template-lint
[ember-css-modules]: https://github.com/salsify/ember-css-modules
``bash`
npm install --save-dev ember-template-lint-plugin-css-modules
`js
// .template-lintrc.js
module.exports = {
plugins: ['ember-template-lint-plugin-css-modules'],
rules: {
'css-modules/static-local-class': true,
},
};
`
- no-class – Disallows usage of all class attributeslocal-class` attributes
- static-local-class – Disallows use of
variable values in
- This plugin uses pnpm to manage its dependencies in development.
This projects is developed by and © simplabs GmbH
and contributors. It is released under the MIT License.