Skip to content

Commit

Permalink
chore: enforce LF line endings in the repository (#5092)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Sep 26, 2021
1 parent 28fc88f commit 1bf759d
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 87 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
* text=auto eol=lf
42 changes: 21 additions & 21 deletions packages/playground/assets/nested/fragment-bg.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 22 additions & 22 deletions packages/playground/assets/nested/fragment.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1,3 +1,3 @@
import ExampleExternalComponent from './ExampleExternalComponent.vue'

export default ExampleExternalComponent
import ExampleExternalComponent from './ExampleExternalComponent.vue'

export default ExampleExternalComponent
@@ -1,6 +1,6 @@
{
"name": "example-external-component",
"private": true,
"version": "0.0.0",
"main": "index.js"
}
{
"name": "example-external-component",
"private": true,
"version": "0.0.0",
"main": "index.js"
}
26 changes: 13 additions & 13 deletions packages/playground/ssr-vue/src/pages/External.vue
@@ -1,13 +1,13 @@
<template>
<ExampleExternalComponent />
</template>

<script>
import ExampleExternalComponent from 'example-external-component'
export default {
components: {
ExampleExternalComponent
}
}
</script>
<template>
<ExampleExternalComponent />
</template>

<script>
import ExampleExternalComponent from 'example-external-component'
export default {
components: {
ExampleExternalComponent
}
}
</script>
44 changes: 22 additions & 22 deletions packages/playground/vue/assets/fragment.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bf759d

Please sign in to comment.