We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fbbc46 commit 3c0df25Copy full SHA for 3c0df25
index.js
@@ -125,6 +125,14 @@ export default function createConfig({
125
)
126
}
127
128
+ if (styleGuide !== 'standard' || needsPrettier) {
129
+ // TODO:
130
+ // I used renderEjsFile instead of readFileSync for simplicity and easier integration
131
+ // with create-vue. But it's ugly.
132
+ // Should refactor later, or move this project into create-vue.
133
+ files['.gitattributes'] = renderEjsFile('./templates/_gitattributes', {})
134
+ }
135
+
136
return {
137
pkg,
138
files,
templates/_gitattributes
@@ -0,0 +1 @@
1
+* text=auto eol=lf
0 commit comments