StackOverflow - vue.js, vuejs2, vuejs3, eslint, airbnb-js-styleguide
How to disable eslint rule max line length for paragraph in <template> of vue.js?
I am using Vue3, the structure has been changed, .eslintrc.js is being merged into package.json so that methods mentioned before is not work for me. First. This is the way it works to me Commented the line in .editorconfig [*.{js,jsx,ts,tsx,vue}] indent_style = space indent_size = 2 end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true # max_line_length = 100 Seconds. Add the line in eslintConfig object in package.json "rules": { "max-len": ["error", 120] },
Was this helpful?
Related Articles
Have a different question?
Can't find the answer you're looking for? Submit your own question to our community.
🛎️ Get Weekly OTA Fixes
New answers, vendor issues, and updates — straight to your inbox.