chore(lint): enable eslint on mjs (#1804)

This commit is contained in:
Xin Du (Clark) 2021-11-10 12:06:22 +00:00 committed by GitHub
parent bf716f3978
commit 6ec518ff24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View File

@ -17,7 +17,7 @@
"play": "yarn run nuxi dev playground", "play": "yarn run nuxi dev playground",
"example": "yarn workspace example-$0 dev", "example": "yarn workspace example-$0 dev",
"example:build": "yarn workspace example-$0 build", "example:build": "yarn workspace example-$0 build",
"lint": "eslint --ext .vue,.ts,.js .", "lint": "eslint --ext .vue,.ts,.js,.mjs .",
"lint:docs": "./node_modules/.bin/markdownlint ./", "lint:docs": "./node_modules/.bin/markdownlint ./",
"test": "yarn lint && yarn test:presets", "test": "yarn lint && yarn test:presets",
"test:presets": "mocha test/presets/*.mjs", "test:presets": "mocha test/presets/*.mjs",

View File

@ -4,5 +4,4 @@ export { EffectScope, computed, createApp, createRef, customRef, defineAsyncComp
export const isFunction = fn => fn instanceof Function export const isFunction = fn => fn instanceof Function
export { Vue as default } export { Vue as default }