Skip to content

Commit 221c4db

Browse files
committed
Fix all Prettier parsing errors
1 parent 9eba826 commit 221c4db

File tree

6 files changed

+15
-38
lines changed

6 files changed

+15
-38
lines changed

.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ bundle/
1010
spec/dummy/lib/bs/**
1111
spec/dummy/public
1212
**/.yalc/**
13-
**/generated/**
13+
**/*generated*
1414
*.res.js
15+
16+
# Prettier doesn't understand ERB syntax in YAML files
17+
.rubocop.yml

.prettierrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ singleQuote: true
66
trailingComma: all
77
bracketSpacing: true
88
bracketSameLine: false
9-
parser: typescript
109

1110
overrides:
1211
- files: "*.@(css|scss)"
@@ -18,3 +17,6 @@ overrides:
1817
options:
1918
parser: json
2019
printWidth: 100
20+
- files: ".*rc"
21+
options:
22+
parser: yaml

spec/dummy/.prettierignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

spec/dummy/.prettierrc

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
de:
2-
:hello: "Hallo welt"
2+
hello: "Hallo welt"
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
en:
2-
:hello: "Hello world"
3-
:argument: "I am %{age} years old."
4-
:day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
5-
:blank:
6-
:number: 2
7-
:bool: true
8-
:float: 2.0
2+
hello: "Hello world"
3+
argument: "I am %{age} years old."
4+
day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
5+
blank:
6+
number: 2
7+
bool: true
8+
float: 2.0

0 commit comments

Comments
 (0)