File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ export default function createConfig({
106
106
107
107
const templateData = {
108
108
styleGuide,
109
+ needsPrettier,
109
110
fileExtensions,
110
111
configsBeforeVuePlugin,
111
112
configsAfterVuePlugin,
Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ indent_size = 2
4
4
indent_style = space
5
5
insert_final_newline = true
6
6
trim_trailing_whitespace = true
7
- <% _ if (styleGuide === ' airbnb' ) { _% >
8
- < % # // standard doesn't have an opinion on line endings
7
+ <% _ if (styleGuide !== ' standard' || needsPrettier) { _% >
8
+ < % #
9
+ // standard doesn't have an opinion on line endings
9
10
// https://github.com/standard/standard/issues/140
10
11
// or maximum line length
11
12
// https://github.com/standard/standard/issues/1559
12
- // so we only configure them for airbnb style
13
+ // Prettier enforces these things, though.
13
14
% >
14
15
end_of_line = lf
15
16
max_line_length = 100
You can’t perform that action at this time.
0 commit comments