Skip to content

Commit 1927bdf

Browse files
committed
Add autofix script
1 parent 63f8461 commit 1927bdf

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.eslintrc.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ module.exports = {
2020
'vue'
2121
],
2222
rules: {
23-
'no-console': 'off',
24-
'arrow-parens': 0,
25-
'generator-star-spacing': 0,
26-
'vue/html-closing-bracket-newline': 0,
27-
'vue/singleline-html-element-content-newline': 0,
28-
'vue/multiline-html-element-content-newline': 0,
29-
'vue/html-closing-bracket-spacing': 0
23+
'no-console': 'off'
3024
}
3125
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/vue-testing-library.js",
66
"scripts": {
77
"lint": "eslint --ext .js,.vue .",
8+
"lint:fix": "npm run lint -- --fix",
89
"test": "jest --coverage",
910
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
1011
"prepublishOnly": "babel src --out-dir dist",

0 commit comments

Comments
 (0)