mirror of
https://github.com/youzan/vant.git
synced 2026-03-04 05:00:17 +08:00
[bugfix] lint-staged should lint ts files
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,vue}": [
|
||||
"*.{ts,tsx,js,vue}": [
|
||||
"eslint",
|
||||
"git add"
|
||||
],
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { use } from '../utils';
|
||||
import { emit, inherit } from '../utils/functional';
|
||||
import { inherit } from '../utils/functional';
|
||||
|
||||
// Types
|
||||
import { CreateElement, RenderContext } from 'vue/types';
|
||||
|
||||
Reference in New Issue
Block a user