Skip to content

Commit c52001d

Browse files
committed
Introduce linting to restrict line length to 120 chars
This adds an eslint rule to restrict line length to 120 chars. This does not fix lines longer than this. These fixes will need to be applied before merging
1 parent 2d6044d commit c52001d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = {
1616
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
1717
'vue/multi-word-component-names': 'warn',
1818
'vue/no-reserved-component-names': 'warn',
19-
'vue/no-mutating-props': 'warn'
19+
'vue/no-mutating-props': 'warn',
20+
'max-len': ['error', {'code': 120}]
2021
},
2122
overrides: [
2223
{

0 commit comments

Comments
 (0)