chore(eslint): disable some typescript-eslint rules (#6127)

This commit is contained in:
neverland 2020-04-24 22:52:23 +08:00 committed by GitHub
parent 3265d68f90
commit 3cd7128efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,10 @@ module.exports = {
'vue/component-name-in-template-casing': ['error', 'kebab-case'], 'vue/component-name-in-template-casing': ['error', 'kebab-case'],
// typescript-eslint // typescript-eslint
'@typescript-eslint/camelcase': 'off', '@typescript-eslint/camelcase': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-function-return-type': 'off',
}, },

View File

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