Linting issues ... jsbeautify (sublime-text 3) throws errors for quasar lint
-
I get the following error once I save any file in sublime-text 3 using js-beautify
C:\learn\quasar\rsg\src\components\Index.vue 35:7 error Missing space before function parentheses space-before-function-paren 36:7 error Expected indentation of 4 spaces but found 6 indent 42:5 error Expected indentation of 2 spaces but found 4 indent 43:5 error Expected indentation of 2 spaces but found 4 indent 44:15 error Missing space before function parentheses space-before-function-paren 55:5 error Expected indentation of 2 spaces but found 4 indent 56:11 error Missing space before function parentheses space-before-function-paren 74:5 error Expected indentation of 2 spaces but found 4 indent 74:12 error Missing space before function parentheses space-before-function-paren 80:5 error Expected indentation of 2 spaces but found 4 indent 80:18 error Missing space before function parentheses space-before-function-paren
Any help please.
-
-
@afd besides the “indent_size”: 4
I’m still struggling to get the defaults from
https://github.com/enginespot/js-beautify-sublime#settings
to conform with
http://quasar-framework.org/guide/app-linter-configuration.html -
solutions was simply to exclude .vue files from .jsbeautifyrc, then edit the eslint highlighted errors manually