mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix(@vant/eslint-config): use default component-definition-name-casing
This commit is contained in:
parent
d00fce3f61
commit
70f01133d9
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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',
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user