Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit f69d50c

Browse files
committed
fix: eslint
1 parent 03996f7 commit f69d50c

File tree

100 files changed

+384
-558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+384
-558
lines changed

.eslintrc.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ extends:
77
- plugin:prettier/recommended
88
- plugin:vue/essential
99
- plugin:vue/vue3-essential
10-
- "@vue/typescript"
10+
# - "@vue/typescript"
1111
parser: vue-eslint-parser
1212
parserOptions:
1313
parser: "@typescript-eslint/parser"
1414
ecmaVersion: 2020
1515
sourceType: module
1616
plugins:
17-
- "@typescript-eslint"
17+
# - "@typescript-eslint"
1818
- prettier
1919
rules:
20-
"@typescript-eslint/member-delimiter-style":
21-
- error
22-
- multiline:
23-
delimiter: none
24-
requireLast: false
25-
singleline:
26-
delimiter: comma
27-
requireLast: false
20+
# "@typescript-eslint/member-delimiter-style":
21+
# - error
22+
# - multiline:
23+
# delimiter: none
24+
# requireLast: false
25+
# singleline:
26+
# delimiter: comma
27+
# requireLast: false
2828
vue/no-multiple-template-root: "off"
2929
"prettier/prettier":
3030
- error

modules/nuxt/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chakra-ui/nuxt-next",
3-
"version": "workspace:*",
3+
"version": "2.1.0-beta.1",
44
"description": "Nuxt 3 compatible version of Chakra UI Vue",
55
"license": "MIT",
66
"type": "module",
@@ -21,7 +21,8 @@
2121
"scripts": {
2222
"prebuild": "nuxi prepare playground",
2323
"build": "unbuild",
24-
"dev": "nuxi dev playground",
24+
"dev": "echo 'Dev'",
25+
"start": "nuxi dev playground",
2526
"dev:build": "nuxi build playground",
2627
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
2728
"lint": "eslint .",

modules/nuxt/test/fixtures/basic/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ export default defineConfig({
1616
}),
1717
],
1818
format: ["esm", "cjs"],
19-
entry: ['src/**/*.(ts|tsx)'],
19+
entry: ["src/**/*.(ts|tsx)"],
2020
keepNames: true,
2121
})

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@
144144
"@vueuse/integrations": "^4.8.1",
145145
"@vueuse/motion": "^1.5.4",
146146
"@vueuse/shared": "^9.11.1",
147-
"@zag-js/accordion": "^0.1.13",
148-
"@zag-js/core": "^0.2.6",
149-
"@zag-js/vue": "^0.2.8",
150147
"aria-hidden": "^1.1.2",
151148
"axe-core": "^4.1.2",
152149
"babel-jest": "^26.6.3",
@@ -166,7 +163,7 @@
166163
"esbuild": "0.13.4",
167164
"esbuild-jest": "0.4.0",
168165
"esbuild-plugin-babel": "^0.2.3",
169-
"eslint": "^8.34.0",
166+
"eslint": "8",
170167
"eslint-config-prettier": "^6.12.0",
171168
"eslint-config-standard": "^14.1.1",
172169
"eslint-plugin-import": "^2.22.0",
@@ -211,10 +208,10 @@
211208
"ts-node": "^9.0.0",
212209
"tsup": "^6.5.0",
213210
"turbo": "^1.7.0",
214-
"typescript": "5.0.0-beta",
211+
"typescript": "4",
215212
"unplugin-vue-components": "^0.14.0",
216213
"unplugin-vue-jsx": "0.1.2",
217-
"vite": "^3.0.7",
214+
"vite": "4",
218215
"vite-plugin-mdx-vue": "^1.6.0",
219216
"vite-plugin-pages": "^0.20.1",
220217
"vite-plugin-vue-layouts": "^0.5.0",

packages/c-accordion/examples/allow-multiple.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ import {
4343
CAccordionPanel,
4444
CAccordionIcon,
4545
} from "../src"
46-
import { chakra } from "@chakra-ui/vue-next"
46+
import { chakra } from "../../core"
4747
</script>

packages/c-accordion/examples/allow-toggle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
CAccordionButton,
4444
CAccordionPanel,
4545
} from "../src"
46-
import { chakra } from "@chakra-ui/vue-next"
46+
import { chakra } from "../../core"
4747
import { useToggle } from "@vueuse/core"
4848
const [isToggle] = useToggle(true)
4949
</script>

packages/c-accordion/examples/simple-accordion.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
CAccordionButton,
4040
CAccordionPanel,
4141
} from "../src"
42-
import { chakra } from "@chakra-ui/vue-next"
42+
import { chakra } from "../../core"
4343
import { useId, useIds } from "@chakra-ui/vue-composables"
4444
import { watchEffect } from "vue"
4545

packages/c-accordion/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@chakra-ui/vue-composables": "workspace:*",
3232
"@chakra-ui/vue-system": "workspace:*",
3333
"@chakra-ui/vue-utils": "workspace:*",
34-
"@zag-js/accordion": "^0.1.13",
35-
"@zag-js/vue": "^0.2.8"
34+
"@zag-js/accordion": "0.2.11",
35+
"@zag-js/vue": "^0.2.9"
3636
},
3737
"peerDependencies": {
3838
"vue": ">=3.0.5"

packages/c-accordion/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ export default defineConfig({
1616
}),
1717
],
1818
format: ["esm", "cjs"],
19-
entry: ['src/**/*.(ts|tsx)'],
19+
entry: ["src/**/*.(ts|tsx)"],
2020
keepNames: true,
2121
})

packages/c-alert/examples/base-alert.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
</template>
44

55
<script lang="ts" setup>
6-
import { chakra } from "@chakra-ui/vue-next"
6+
import { chakra } from "../../core"
77
</script>

0 commit comments

Comments
 (0)