fix(@vant/eslint-config): use default component-definition-name-casing

This commit is contained in:
chenjiahan 2020-12-21 17:23:05 +08:00
parent d00fce3f61
commit 70f01133d9
4 changed files with 6 additions and 11 deletions

View File

@ -48,7 +48,7 @@
"@nuxt/friendly-errors-webpack-plugin": "^2.5.0",
"@types/jest": "^26.0.15",
"@types/webpack-dev-server": "^3.11.1",
"@vant/eslint-config": "^3.0.1",
"@vant/eslint-config": "^3.0.3",
"@vant/markdown-loader": "^3.0.2",
"@vant/markdown-vetur": "^2.0.2",
"@vant/stylelint-config": "^1.4.0",

View File

@ -1860,10 +1860,10 @@
"@typescript-eslint/types" "4.6.1"
eslint-visitor-keys "^2.0.0"
"@vant/eslint-config@^3.0.1":
version "3.0.1"
resolved "https://registry.npmjs.org/@vant/eslint-config/-/eslint-config-3.0.1.tgz#0bd43195c16817f64a3402d82a12563a4144707f"
integrity sha512-uzzF8wuZVUFkKs5a/+nIeDeYoX7M1kjd4lxSb2hq8//M0s1Ddw1xGuNuSq7QPzQpwXB7SdGfFK8rHxQdVThyUw==
"@vant/eslint-config@^3.0.3":
version "3.0.3"
resolved "https://registry.npmjs.org/@vant/eslint-config/-/eslint-config-3.0.3.tgz#c3b5a4f87a03757b42eedff147132ed2231b7d69"
integrity sha512-pqIlDC715QeWZxmYOR/GaeZdRdaVbuHI7gETtyPBzZ5hOpQ6JxQrvazvUgTU0LgFvLC60eBJoeJ3+hmd/wnicg==
dependencies:
"@typescript-eslint/eslint-plugin" "^4.6.0"
"@typescript-eslint/parser" "^4.6.0"

View File

@ -53,11 +53,6 @@ module.exports = {
'vue/require-v-for-key': 'off',
'vue/require-default-prop': 'off',
'vue/no-unused-components': 'off',
'vue/component-definition-name-casing': [
'error',
'PascalCase' | 'kebab-case',
],
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
// typescript-eslint
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/ban-ts-comment': 'off',

View File

@ -1,6 +1,6 @@
{
"name": "@vant/eslint-config",
"version": "3.0.1",
"version": "3.0.3",
"description": "eslint config of vant",
"main": "index.js",
"publishConfig": {