Skip to content

Commit 8898bf5

Browse files
committed
Fix all Prettier parsing errors
1 parent c957f32 commit 8898bf5

File tree

4 files changed

+9
-30
lines changed

4 files changed

+9
-30
lines changed

.prettierignore

+6-1
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

+3-1
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

-8
This file was deleted.

spec/dummy/.prettierrc

-20
This file was deleted.

0 commit comments

Comments
 (0)