Skip to content

Commit

Permalink
chore: upgrade eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 25, 2023
1 parent 5706aca commit f1310be
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default sxzz([
'vue/require-prop-types': 'off',
'vue/valid-define-props': 'off',
'vue/valid-attribute-name': 'off',
'import/no-default-export': 'off',
},
},
])
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@babel/types": "^7.21.4",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@sxzz/eslint-config": "^3.0.0-beta.4",
"@sxzz/eslint-config": "^3.0.0-beta.9",
"@types/node": "^18.15.11",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/ui": "^0.30.1",
Expand Down
1 change: 1 addition & 0 deletions packages/define-models/src/core/helper/emit-helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { type SetupContext } from 'vue'

// eslint-disable-next-line import/no-default-export
export default (
emitFn: SetupContext['emit'],
key: string,
Expand Down
1 change: 1 addition & 0 deletions packages/define-models/src/core/helper/use-vmodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useVModel } from '@vueuse/core'
import { type UseVModelOptions } from '@vueuse/core'
import { type Ref } from 'vue'

// eslint-disable-next-line import/no-default-export
export default (
...keys: (
| string
Expand Down
9 changes: 5 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f1310be

Please sign in to comment.