@master/eslint-plugin-css 2.0.0-rc.68 → 2.0.0-rc.69
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/dist/create-rule.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var css = require('@master/css');
|
|
4
3
|
var utils = require('@typescript-eslint/utils');
|
|
5
4
|
|
|
6
|
-
var createRule = utils.ESLintUtils.RuleCreator((name)=>new URL(`/guide/code-linting#${name}`, css.
|
|
5
|
+
var createRule = utils.ESLintUtils.RuleCreator((name)=>new URL(`/guide/code-linting#${name}`, 'https://rc.css.master.co').href);
|
|
7
6
|
|
|
8
7
|
module.exports = createRule;
|
package/dist/create-rule.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { OFFICIAL_URL } from '@master/css';
|
|
2
1
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
3
2
|
|
|
4
|
-
var createRule = ESLintUtils.RuleCreator((name)=>new URL(`/guide/code-linting#${name}`,
|
|
3
|
+
var createRule = ESLintUtils.RuleCreator((name)=>new URL(`/guide/code-linting#${name}`, 'https://rc.css.master.co').href);
|
|
5
4
|
|
|
6
5
|
export { createRule as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import settings from '../settings.mjs';
|
|
2
2
|
import exploreConfig from '@master/css-explore-config';
|
|
3
|
-
import {
|
|
3
|
+
import { createCSS } from '@master/css';
|
|
4
4
|
|
|
5
5
|
const cssCaches = [];
|
|
6
6
|
function resolveContext(context) {
|
|
@@ -21,7 +21,7 @@ function resolveContext(context) {
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
css =
|
|
24
|
+
css = createCSS(config);
|
|
25
25
|
cssCaches.push({
|
|
26
26
|
cwd: context.cwd,
|
|
27
27
|
settings: resolvedSettings,
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@master/eslint-plugin-css","type":"module","scripts":{"build":"techor build \"src/**/*.{js,ts}\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint"},"keywords":["mastercss","eslint","eslintplugin"],"license":"MIT","description":"Master CSS ESLint Plugin","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","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":"./dist/index.cjs","module":"./dist/index.mjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./configs/*":{"types":"./dist/configs/*.d.ts","import":"./dist/configs/*.mjs","require":"./dist/configs/*.cjs"}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.
|
|
1
|
+
{"name":"@master/eslint-plugin-css","type":"module","scripts":{"build":"techor build \"src/**/*.{js,ts}\"","dev":"pnpm build --watch","test":"vitest","type-check":"tsc --noEmit","lint":"eslint"},"keywords":["mastercss","eslint","eslintplugin"],"license":"MIT","description":"Master CSS ESLint Plugin","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","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":"./dist/index.cjs","module":"./dist/index.mjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./configs/*":{"types":"./dist/configs/*.d.ts","import":"./dist/configs/*.mjs","require":"./dist/configs/*.cjs"}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.69","@master/css-explore-config":"^2.0.0-rc.69","@master/css-validator":"^2.0.0-rc.69","@typescript-eslint/utils":"^8.29.1","typescript-eslint":"^8.29.1"},"devDependencies":{"@angular-eslint/template-parser":"^19.3.0","@angular/compiler":"^17.2.2","@master/css-explore-config":"^2.0.0-rc.69","@typescript-eslint/rule-tester":"^8.29.1","eslint":"^9.24.0","eslint-plugin-markdown":"^5.1.0","eslint-plugin-mdx":"^3.4.0","shared":"^2.0.0-rc.69","svelte-eslint-parser":"^1.1.2","ts-node":"^10.9.2","vue-eslint-parser":"^10.1.3"},"version":"2.0.0-rc.69"}
|