Skip to content

Commit

Permalink
fix(.eslint.js): fix no-unused-vars in .ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
linpengteng committed Jan 7, 2023
1 parent d31fd35 commit ca6ae25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,15 @@ module.exports = {
'vue/v-on-event-hyphenation': ['error', 'never']
}
},
{
files: ['**/*.ts'],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error', {
argsIgnorePattern: '^_'
}]
}
},
{
env: {
jest: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cz-message-helper",
"version": "1.1.10",
"version": "1.1.11",
"description": "A commit message helper for commitizen",
"license": "MIT",
"author": "lin pengteng <china.linpengteng@gmail.com>",
Expand Down

0 comments on commit ca6ae25

Please sign in to comment.