feat: add react and all

This commit is contained in:
Anthony Fu
2020-08-12 19:24:32 +08:00
parent b962266ba1
commit a7fbdcad4b
15 changed files with 483 additions and 124 deletions

View File

@@ -4,13 +4,13 @@ module.exports = {
parser: '@typescript-eslint/parser',
},
extends: [
'plugin:vue/recommended',
'plugin:vue/vue3-recommended',
'@antfu/eslint-config-ts',
],
plugins: [
'vue'
'vue',
],
rules: {
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
}
},
}

View File

@@ -6,9 +6,6 @@
"keywords": [],
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"scripts": {
"lint": "eslint . --config=index.js"
},
"files": [
"index.js"
],
@@ -19,12 +16,7 @@
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.2.14",
"@antfu/eslint-config-ts": "workspace:*",
"eslint-plugin-vue": "7.0.0-alpha.10"
},
"devDependencies": {
"eslint": "^7.0.0",
"typescript": "^3.9.7"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
}
}