Skip to content

Commit 5e5385a

Browse files
committed
style: fix lint
1 parent 7e47d0a commit 5e5385a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
'@vue/standard'
99
],
1010
rules: {
11-
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
11+
'no-console': 'off',
1212
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1313
'generator-star-spacing': 'off',
1414
'no-mixed-operators': 0,
@@ -32,7 +32,6 @@ module.exports = {
3232
'vue/no-use-v-if-with-v-for': 0,
3333
'vue/html-closing-bracket-newline': 0,
3434
'vue/no-parsing-error': 0,
35-
'no-console': 0,
3635
'no-tabs': 0,
3736
'quotes': [
3837
2,

src/components/TextArea/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default {
3939
methods: {
4040
handleChange (e) {
4141
const value = e.target.value
42-
let len = getStrFullLength(value)
42+
const len = getStrFullLength(value)
4343
if (len <= this.limit) {
4444
this.currentLimit = len
4545
this.$emit('change', value)

0 commit comments

Comments
 (0)