[bugfix] lint-staged should lint ts files

This commit is contained in:
陈嘉涵 2019-05-05 10:16:06 +08:00
parent be5270dea1
commit 2c3b48ffcd
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
} }
}, },
"lint-staged": { "lint-staged": {
"*.{js,vue}": [ "*.{ts,tsx,js,vue}": [
"eslint", "eslint",
"git add" "git add"
], ],

View File

@ -1,5 +1,5 @@
import { use } from '../utils'; import { use } from '../utils';
import { emit, inherit } from '../utils/functional'; import { inherit } from '../utils/functional';
// Types // Types
import { CreateElement, RenderContext } from 'vue/types'; import { CreateElement, RenderContext } from 'vue/types';