diff --git a/examples/blank/package.json b/examples/blank/package.json index 69d644861..4485333e1 100644 --- a/examples/blank/package.json +++ b/examples/blank/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@master/css-runtime": "workspace:^", - "@master/normal.css": "^2.0.0" + "@master/normal.css": "^2.1.0" } } diff --git a/examples/eslint/collision.html b/examples/eslint/collision.html index 3507c3803..89403afe7 100644 --- a/examples/eslint/collision.html +++ b/examples/eslint/collision.html @@ -1 +1 @@ -
...
\ No newline at end of file +
...
\ No newline at end of file diff --git a/examples/eslint/collision.mdx b/examples/eslint/collision.mdx index 895a2c225..ecdf83ad8 100644 --- a/examples/eslint/collision.mdx +++ b/examples/eslint/collision.mdx @@ -1,3 +1,3 @@ # Test -
...
\ No newline at end of file +
...
\ No newline at end of file diff --git a/examples/eslint/validation.html b/examples/eslint/validation.html index 78e84b76b..2adbc8c2e 100644 --- a/examples/eslint/validation.html +++ b/examples/eslint/validation.html @@ -1 +1 @@ -
...
\ No newline at end of file +
...
\ No newline at end of file diff --git a/package.json b/package.json index 85da465a7..aa63be6e3 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "@google-cloud/storage": "^7.7.0", - "@master/normal.css": "^2.0.0", + "@master/normal.css": "^2.1.0", "@swc-node/jest": "^1.7.0", "@techor/fs": "^3.0.18", "@techor/glob": "^3.0.18", diff --git a/packages/css/package.json b/packages/css/package.json index 3a201665c..f69279aa1 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -64,7 +64,7 @@ }, "dependencies": { "@master/colors": "^2.0.0", - "@master/normal.css": "^2.0.0", + "@master/normal.css": "^2.1.0", "@techor/extend": "^3.0.18" }, "devDependencies": { diff --git a/packages/eslint-config/tests/index.html b/packages/eslint-config/tests/index.html index 681b65e3d..65090664a 100644 --- a/packages/eslint-config/tests/index.html +++ b/packages/eslint-config/tests/index.html @@ -1,4 +1,4 @@ -
...
+
...
...
...
\ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 036a8dd63..cf6122574 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^7.7.0 version: 7.8.0 '@master/normal.css': - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.1.0 + version: 2.1.0 '@swc-node/jest': specifier: ^1.7.0 version: 1.8.0(@swc/core@1.4.6)(@swc/types@0.1.5)(typescript@5.4.2) @@ -337,8 +337,8 @@ importers: specifier: workspace:^ version: link:../../packages/runtime '@master/normal.css': - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.1.0 + version: 2.1.0 devDependencies: typescript: specifier: ^5.3.3 @@ -1085,8 +1085,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 '@master/normal.css': - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.1.0 + version: 2.1.0 '@techor/extend': specifier: ^3.0.18 version: 3.0.18 @@ -1533,8 +1533,8 @@ importers: specifier: workspace:^ version: link:../packages/eslint-plugin '@master/normal.css': - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.1.0 + version: 2.1.0 '@master/styled.react': specifier: ^2.0.2 version: 2.0.2(@types/react@18.2.65)(react-dom@18.2.0)(react@18.2.0) @@ -6584,8 +6584,8 @@ packages: resolution: {integrity: sha512-0s4DzBSXthRVCFKkKbGvAioT6oVlN54f9H4MX6GN1YoNG0/x0NECyIv/5Tx9p5nDMr+ClDHSDbQ37DJUp8CHFg==} dev: false - /@master/normal.css@2.0.0: - resolution: {integrity: sha512-zXvZwFTP9gvinLH06ElOlcPJRm7cgFVVxoL/uzFb5qiiXZq1TgsjYS57dEHoPirCWZnk987Xwvi9GQJ4AAgzxA==} + /@master/normal.css@2.1.0: + resolution: {integrity: sha512-qRW05ThdgfbEqBhEYk+DauPoesFSHjnUmpwNtVO+ZGmM90E8IWjADe7poBAEanO0saMu0VqnGcmBSbr+3RVKfA==} dev: false /@master/styled.react@2.0.2(@types/react@18.2.65)(react-dom@18.2.0)(react@18.2.0): @@ -10159,7 +10159,7 @@ packages: '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.24.0) '@vanilla-extract/babel-plugin-debug-ids': 1.0.5 '@vanilla-extract/css': 1.14.1 - esbuild: 0.17.6 + esbuild: 0.19.12 eval: 0.1.8 find-up: 5.0.0 javascript-stringify: 2.1.0 @@ -19196,6 +19196,7 @@ packages: /mimic-response@3.1.0: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} + requiresBuild: true /min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} @@ -23888,7 +23889,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.27.0 + terser: 5.29.1 webpack: 5.90.1(@swc/core@1.4.6)(esbuild@0.20.0) dev: true diff --git a/website/app/[locale]/(root)/docs/code-linting/content.mdx b/website/app/[locale]/(root)/docs/code-linting/content.mdx index 2e387b50f..7853407c7 100644 --- a/website/app/[locale]/(root)/docs/code-linting/content.mdx +++ b/website/app/[locale]/(root)/docs/code-linting/content.mdx @@ -55,9 +55,7 @@ import brands from 'websites/data/brands' In practice, you pay less attention to the order of classes, and as the number of classes increases, the template markup becomes less readable. (i) With the [class order rule](/docs/eslint#class-order), you can enforce a consistent and fixed order for classes. - +Consistent class order (!) No consistent class order followed. ```html @@ -72,13 +70,11 @@ In practice, you pay less attention to the order of classes, and as the number o In the past, you added utility classes to your templates unsafely, lacking the capability to verify their validity or legality directly within the source code. (i) With the [class validation rule](/docs/eslint#class-order), you can check the validity of classes early as you write them. - +Syntax error checks -(x) Invalid value for \`width\` property. +(x) Invalid value for \`font\` property. ```html -
+
``` This is helpful if you make a typo or are unfamiliar with Master CSS syntax! @@ -86,9 +82,7 @@ This is helpful if you make a typo or are unfamiliar with Master CSS syntax! You can also restrict teams to using [configuration](/docs/configuration) to create [styles](/docs/styles) instead of defining classes through traditional `html