ultracite 3.3.0 → 3.3.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.
package/README.md CHANGED
@@ -51,20 +51,19 @@ code --install-extension stylelint.vscode-stylelint
51
51
  Create an `eslint.config.mjs` with the following contents:
52
52
 
53
53
  ```js
54
- import ultracite from 'ultracite';
54
+ export { default } from 'ultracite';
55
+ ```
55
56
 
56
- export default ultracite;
57
+ Create a `prettier.config.mjs` with the following contents:
58
+
59
+ ```js
60
+ export { default } from 'ultracite/prettier';
57
61
  ```
58
62
 
59
- Add the following to your `package.json`:
63
+ Create a `stylelint.config.mjs` with the following contents:
60
64
 
61
- ```json
62
- {
63
- "prettier": "ultracite/prettier",
64
- "stylelint": {
65
- "extends": "ultracite/stylelint"
66
- }
67
- }
65
+ ```js
66
+ export { default } from 'ultracite/stylelint';
68
67
  ```
69
68
 
70
69
  Ultracite is designed to be used with [VS Code](https://code.visualstudio.com/), and includes a `.vscode/settings.json` file that enables full formatting on save. Create a `.vscode/settings.json` file with the following contents:
@@ -0,0 +1,14 @@
1
+ /** @type {import('prettier').Config} */
2
+ const config = {
3
+ tabWidth: 2,
4
+ useTabs: false,
5
+ semi: true,
6
+ singleQuote: true,
7
+ trailingComma: 'es5',
8
+ bracketSpacing: true,
9
+ arrowParens: 'always',
10
+ proseWrap: 'never',
11
+ printWidth: 80,
12
+ };
13
+
14
+ export { config as default };
@@ -0,0 +1 @@
1
+ var e={tabWidth:2,useTabs:!1,semi:!0,singleQuote:!0,trailingComma:"es5",bracketSpacing:!0,arrowParens:"always",proseWrap:"never",printWidth:80},a=e;export{a as default};
@@ -0,0 +1,36 @@
1
+ /** @type {import('stylelint').Config} */
2
+ const config = {
3
+ plugins: ['stylelint-prettier'],
4
+ extends: ['stylelint-config-standard', 'stylelint-config-idiomatic-order'],
5
+ rules: {
6
+ 'at-rule-no-unknown': [
7
+ true,
8
+ {
9
+ ignoreAtRules: [
10
+ 'tailwind',
11
+ 'apply',
12
+ 'layer',
13
+ 'variants',
14
+ 'responsive',
15
+ 'screen',
16
+ ],
17
+ },
18
+ ],
19
+ 'declaration-property-value-no-unknown': true,
20
+ 'no-descending-specificity': null,
21
+ 'declaration-block-no-redundant-longhand-properties': [
22
+ true,
23
+ {
24
+ ignoreShorthands: ['/flex/'],
25
+ },
26
+ ],
27
+ 'selector-pseudo-class-no-unknown': [
28
+ true,
29
+ {
30
+ ignorePseudoClasses: ['global'],
31
+ },
32
+ ],
33
+ },
34
+ };
35
+
36
+ export { config as default };
@@ -0,0 +1 @@
1
+ var e={plugins:["stylelint-prettier"],extends:["stylelint-config-standard","stylelint-config-idiomatic-order"],rules:{"at-rule-no-unknown":[!0,{ignoreAtRules:["tailwind","apply","layer","variants","responsive","screen"]}],"declaration-property-value-no-unknown":!0,"no-descending-specificity":null,"declaration-block-no-redundant-longhand-properties":[!0,{ignoreShorthands:["/flex/"]}],"selector-pseudo-class-no-unknown":[!0,{ignorePseudoClasses:["global"]}]}},n=e;export{n as default};
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "name": "ultracite",
42
42
  "description": "Strict, opinionated ESLint config for modern TypeScript apps.",
43
- "version": "3.3.0",
43
+ "version": "3.3.2",
44
44
  "publishConfig": {
45
45
  "access": "public",
46
46
  "registry": "https://registry.npmjs.org/"