@zthun/janitor-stylelint-config 19.2.4 → 19.2.5
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/index.cjs +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,29 @@
|
|
|
3
3
|
const config = {
|
|
4
4
|
extends: [
|
|
5
5
|
"stylelint-config-standard"
|
|
6
|
-
]
|
|
6
|
+
],
|
|
7
|
+
rules: {
|
|
8
|
+
/**
|
|
9
|
+
* We want to support the MUI style selectors which often do
|
|
10
|
+
* ComponentName-root.
|
|
11
|
+
*
|
|
12
|
+
* We're just going to turn this off to support this.
|
|
13
|
+
*/ "selector-class-pattern": null,
|
|
14
|
+
/**
|
|
15
|
+
* In general, it's best to avoid exotic fonts, but there
|
|
16
|
+
* are a few that get used that can be pretty common.
|
|
17
|
+
*
|
|
18
|
+
* Material makes heavy use of the Roboto font, so that's
|
|
19
|
+
* an exclusion that we are going to support.
|
|
20
|
+
*/ "font-family-no-missing-generic-family-keyword": [
|
|
21
|
+
true,
|
|
22
|
+
{
|
|
23
|
+
ignoreFontFamilies: [
|
|
24
|
+
"Roboto"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
7
29
|
};
|
|
8
30
|
|
|
9
31
|
module.exports = config;
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/index.mts"],"sourcesContent":["import type { Config } from \"stylelint\";\n\nconst config: Config = {\n extends: [\"stylelint-config-standard\"],\n};\n\nexport default config;\n"],"names":["config","extends"],"mappings":";;AAEA,MAAMA,MAAiB,GAAA;IACrBC,OAAS,EAAA;AAAC,QAAA;AAA4B;
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/index.mts"],"sourcesContent":["import type { Config } from \"stylelint\";\n\nconst config: Config = {\n extends: [\"stylelint-config-standard\"],\n rules: {\n /**\n * We want to support the MUI style selectors which often do\n * ComponentName-root.\n *\n * We're just going to turn this off to support this.\n */\n \"selector-class-pattern\": null,\n /**\n * In general, it's best to avoid exotic fonts, but there\n * are a few that get used that can be pretty common.\n *\n * Material makes heavy use of the Roboto font, so that's\n * an exclusion that we are going to support.\n */\n \"font-family-no-missing-generic-family-keyword\": [\n true,\n { ignoreFontFamilies: [\"Roboto\"] },\n ],\n },\n};\n\nexport default config;\n"],"names":["config","extends","rules","ignoreFontFamilies"],"mappings":";;AAEA,MAAMA,MAAiB,GAAA;IACrBC,OAAS,EAAA;AAAC,QAAA;AAA4B,KAAA;IACtCC,KAAO,EAAA;AACL;;;;;AAKC,QACD,wBAA0B,EAAA,IAAA;AAC1B;;;;;;AAMC,QACD,+CAAiD,EAAA;AAC/C,YAAA,IAAA;AACA,YAAA;gBAAEC,kBAAoB,EAAA;AAAC,oBAAA;AAAS;AAAC;AAClC;AACH;AACF;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
const config = {
|
|
2
2
|
extends: [
|
|
3
3
|
"stylelint-config-standard"
|
|
4
|
-
]
|
|
4
|
+
],
|
|
5
|
+
rules: {
|
|
6
|
+
/**
|
|
7
|
+
* We want to support the MUI style selectors which often do
|
|
8
|
+
* ComponentName-root.
|
|
9
|
+
*
|
|
10
|
+
* We're just going to turn this off to support this.
|
|
11
|
+
*/ "selector-class-pattern": null,
|
|
12
|
+
/**
|
|
13
|
+
* In general, it's best to avoid exotic fonts, but there
|
|
14
|
+
* are a few that get used that can be pretty common.
|
|
15
|
+
*
|
|
16
|
+
* Material makes heavy use of the Roboto font, so that's
|
|
17
|
+
* an exclusion that we are going to support.
|
|
18
|
+
*/ "font-family-no-missing-generic-family-keyword": [
|
|
19
|
+
true,
|
|
20
|
+
{
|
|
21
|
+
ignoreFontFamilies: [
|
|
22
|
+
"Roboto"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
5
27
|
};
|
|
6
28
|
|
|
7
29
|
export { config as default };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.mts"],"sourcesContent":["import type { Config } from \"stylelint\";\n\nconst config: Config = {\n extends: [\"stylelint-config-standard\"],\n};\n\nexport default config;\n"],"names":["config","extends"],"mappings":"AAEA,MAAMA,MAAiB,GAAA;IACrBC,OAAS,EAAA;AAAC,QAAA;AAA4B;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.mts"],"sourcesContent":["import type { Config } from \"stylelint\";\n\nconst config: Config = {\n extends: [\"stylelint-config-standard\"],\n rules: {\n /**\n * We want to support the MUI style selectors which often do\n * ComponentName-root.\n *\n * We're just going to turn this off to support this.\n */\n \"selector-class-pattern\": null,\n /**\n * In general, it's best to avoid exotic fonts, but there\n * are a few that get used that can be pretty common.\n *\n * Material makes heavy use of the Roboto font, so that's\n * an exclusion that we are going to support.\n */\n \"font-family-no-missing-generic-family-keyword\": [\n true,\n { ignoreFontFamilies: [\"Roboto\"] },\n ],\n },\n};\n\nexport default config;\n"],"names":["config","extends","rules","ignoreFontFamilies"],"mappings":"AAEA,MAAMA,MAAiB,GAAA;IACrBC,OAAS,EAAA;AAAC,QAAA;AAA4B,KAAA;IACtCC,KAAO,EAAA;AACL;;;;;AAKC,QACD,wBAA0B,EAAA,IAAA;AAC1B;;;;;;AAMC,QACD,+CAAiD,EAAA;AAC/C,YAAA,IAAA;AACA,YAAA;gBAAEC,kBAAoB,EAAA;AAAC,oBAAA;AAAS;AAAC;AAClC;AACH;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zthun/janitor-stylelint-config",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.5",
|
|
4
4
|
"description": "A shared configuration for stylelint for @zthun scoped projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"author": "Anthony Bonta",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4bdd77874f77e75c256c7e9d0596103da132172e"
|
|
48
48
|
}
|