Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehoczky committed Aug 10, 2024
1 parent c9609bb commit 33893ab
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
...config,
plugins: ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
tailwindConfig: "./packages/demo/tailwind.config.ts",
tailwindFunctions: ["cn"],
overrides: [
{
files: "*.astro",
Expand Down
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"at-rule-empty-line-before": [
"always",
{ "ignoreAtRules": ["tailwind", "apply", "layer"] }
]
],
"length-zero-no-unit": null
}
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
},
"css.validate": false,
"stylelint.validate": ["css", "vue"],
"tailwindCSS.experimental.classRegex": [
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
],
"cSpell.words": [
"astro",
"astrojs",
Expand Down
3 changes: 1 addition & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"cache": true
}
},
"defaultBase": "master",
"nxCloudAccessToken": "Y2Y1ZTcyMjQtZGJmYy00ZjNlLWJhNmMtYjU0ODU0ZDM3YmVjfHJlYWQtd3JpdGU="
"defaultBase": "master"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { class: className, ...attrs } = Astro.props
<div
data-dimensions=""
class={cn(
"bg-white bg-opacity-60 p-1 text-xs leading-none text-base-700 invisible",
"invisible bg-white bg-opacity-60 p-1 text-xs leading-none text-base-700",
className,
)}
{...attrs}
Expand Down

0 comments on commit 33893ab

Please sign in to comment.