Skip to content

Commit fe7e304

Browse files
author
Maxime Janton
authored
fix(prettier): use same printWidth as max-len
eslint & prettier we're not enforcing the same line length, now they have the same line limit to 120 characters.
1 parent ec85294 commit fe7e304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,6 @@ module.exports = {
263263
'import/no-amd': ['error'],
264264
'import/no-commonjs': ['error'],
265265
'import/no-extraneous-dependencies': ['error'],
266-
'prettier/prettier': ['error', { trailingComma: 'es5', singleQuote: true }],
266+
'prettier/prettier': ['error', { trailingComma: 'es5', singleQuote: true, printWidth: 120 }],
267267
},
268268
};

0 commit comments

Comments
 (0)