Skip to content

Commit 07b07c7

Browse files
committed
Fix all Prettier parsing errors
1 parent acf5d00 commit 07b07c7

File tree

4 files changed

+9
-30
lines changed

4 files changed

+9
-30
lines changed

.prettierignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ 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
18+
# Intentionally invalid
19+
spec/react_on_rails/fixtures/i18n/locales_symbols/

.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.

0 commit comments

Comments
 (0)