We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0cbdb commit cb52606Copy full SHA for cb52606
tests/plugin/eslint.test.js
@@ -35,6 +35,14 @@ describe("Plugin", () => {
35
await eslint.lintText("div {}", { filePath: "test.css" });
36
});
37
38
+
39
+ it("recommended config should configure recommended rules", () => {
40
+ const actualRuleIds = Object.keys(css.configs.recommended.rules);
41
+ const expectedRuleIds = Object.entries(css.rules)
42
+ .filter(([, rule]) => rule.meta.docs.recommended)
43
+ .map(([name]) => `css/${name}`);
44
+ assert.deepStrictEqual(actualRuleIds, expectedRuleIds);
45
+ });
46
47
48
describe("languageOptions", () => {
0 commit comments