ember-template-lint plugin for ember-css-modules
yarn add --dev ember-template-lint-plugin-css-modules
// .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
attributes - static-local-class – Disallows use of
variable values in
local-class
attributes
This projects is developed by and © simplabs GmbH and contributors. It is released under the MIT License.