@openally/config.stylelint 1.0.1 → 1.0.2

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.
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ plugins: string[];
3
+ extends: string[];
4
+ rules: {
5
+ "@stylistic/block-opening-brace-space-before": string;
6
+ "no-descending-specificity": null;
7
+ "no-duplicate-selectors": boolean;
8
+ };
9
+ ignoreFiles: string[];
10
+ overrides: {
11
+ files: string[];
12
+ customSyntax: string;
13
+ rules: {
14
+ "no-empty-source": null;
15
+ };
16
+ }[];
17
+ };
18
+ export default _default;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGA,wBA+BmB"}
package/dist/index.js ADDED
@@ -0,0 +1,32 @@
1
+ export default {
2
+ plugins: [
3
+ "@stylistic/stylelint-plugin"
4
+ ],
5
+ extends: [
6
+ "stylelint-config-standard"
7
+ ],
8
+ rules: {
9
+ "@stylistic/block-opening-brace-space-before": "always",
10
+ // See: https://stylelint.io/user-guide/rules/no-descending-specificity
11
+ "no-descending-specificity": null,
12
+ // See: https://stylelint.io/user-guide/rules/no-duplicate-selectors
13
+ "no-duplicate-selectors": true
14
+ },
15
+ ignoreFiles: [
16
+ "**/dist/**",
17
+ "**/coverage/**"
18
+ ],
19
+ overrides: [
20
+ {
21
+ files: [
22
+ "**/*.ts",
23
+ "**/*.js"
24
+ ],
25
+ customSyntax: "postcss-lit",
26
+ rules: {
27
+ // See: https://stylelint.io/user-guide/rules/no-empty-source
28
+ "no-empty-source": null
29
+ }
30
+ }
31
+ ]
32
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openally/config.stylelint",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "OpenAlly Stylelint configuration for front-end with Lit.js",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",