@master/eslint-plugin-css 2.0.0-beta.180 → 2.0.0-beta.181
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rules/class-order.js +2 -2
- package/package.json +1 -1
package/lib/rules/class-order.js
CHANGED
|
@@ -73,8 +73,6 @@ module.exports = {
|
|
|
73
73
|
const masterCssConfig = getOption(context, 'config')
|
|
74
74
|
const classRegex = getOption(context, 'classRegex')
|
|
75
75
|
|
|
76
|
-
const masterCss = new MasterCSS(masterCssConfig)
|
|
77
|
-
|
|
78
76
|
//----------------------------------------------------------------------
|
|
79
77
|
// Helpers
|
|
80
78
|
//----------------------------------------------------------------------
|
|
@@ -167,6 +165,8 @@ module.exports = {
|
|
|
167
165
|
return
|
|
168
166
|
}
|
|
169
167
|
|
|
168
|
+
const masterCss = new MasterCSS(masterCssConfig)
|
|
169
|
+
|
|
170
170
|
for (const className of classNames) {
|
|
171
171
|
masterCss.insert(className)
|
|
172
172
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@master/eslint-plugin-css","scripts":{"test":"mocha tests --recursive --timeout 10000"},"keywords":["mastercss","eslint","eslintplugin"],"license":"MIT","description":"Master CSS ESLint Plugin","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/eslint-plugin"},"sideEffects":false,"main":"./lib/index.js","exports":"./lib/index.js","publishConfig":{"access":"public"},"dependencies":{"@master/css":"^2.0.0-beta.
|
|
1
|
+
{"name":"@master/eslint-plugin-css","scripts":{"test":"mocha tests --recursive --timeout 10000"},"keywords":["mastercss","eslint","eslintplugin"],"license":"MIT","description":"Master CSS ESLint Plugin","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/eslint-plugin"},"sideEffects":false,"main":"./lib/index.js","exports":"./lib/index.js","publishConfig":{"access":"public"},"dependencies":{"@master/css":"^2.0.0-beta.181","requireindex":"^1.2.0","explore-config":"^2.2.10"},"devDependencies":{"@angular-eslint/template-parser":"^16.2.0","@typescript-eslint/parser":"^5.50.0","@types/node":"^20.6.0","mocha":"^10.2.0","eslint":"^7.1.0","vue-eslint-parser":"^9.3.1"},"version":"2.0.0-beta.181"}
|