Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: sync local/CI Prettier and Restyled #2774

Merged
merged 10 commits into from
Sep 9, 2021
10 changes: 5 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"semi": false,
"arrowParens": "avoid",
"singleQuote": true,
"trailingComma": "none",
"printWidth": 80,
"proseWrap": "always",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"proseWrap": "always"
"trailingComma": "none",
"useTabs": false
}
18 changes: 12 additions & 6 deletions .restyled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ restylers:
arguments:
[
'--write',
'--trailing-comma=none',
'--no-semi',
'--arrow-parens=avoid',
'--single-quote=true',
'--print-width=80',
'--prose-wrap=always',
'--no-semi',
'--single-quote=true',
'--tab-width=2',
'--use-tabs=false',
'--prose-wrap=always'
'--trailing-comma=none',
'--use-tabs=false'
]
include: ['**/*.{js,json,md,yaml,yml}']
include:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put a comment here, btw

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in f61f8be.

- '**/*.md'
- '**/*.jsx'
- '**/*.tsx'
- '**/*.js'
- '**/*.ts'
- '**/*.json'