mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
chore(eslint-config): update dependencies test cases (#10221)
* chore(eslint-config): update dependencies, test cases * chore: update file .lock * fix: wrong .lock file * fix: code style * chore: update `eslint-plugin-vue`
This commit is contained in:
@@ -20,9 +20,11 @@ async function lintProject(name) {
|
||||
|
||||
test('a vue project should pass lint', async () => {
|
||||
const rest = await lintProject('vue');
|
||||
|
||||
expect([
|
||||
'no-const-assign',
|
||||
'@typescript-eslint/no-unused-vars',
|
||||
'vue/multi-word-component-names',
|
||||
'no-undef',
|
||||
]).toEqual(rest);
|
||||
});
|
||||
@@ -32,6 +34,7 @@ test('a vue-tsx project should pass lint', async () => {
|
||||
|
||||
expect([
|
||||
'@typescript-eslint/no-unused-vars',
|
||||
'vue/multi-word-component-names',
|
||||
'vue/no-ref-as-operand',
|
||||
'@typescript-eslint/no-empty-interface',
|
||||
]).toEqual(rest);
|
||||
|
Reference in New Issue
Block a user