mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Update Prettier for package.json
Next sometimes wants to patch `package-lock.json`. The old Prettier setting indended with 4 spaces, but Next always indends with 2 spaces. Since `npm install` automatically uses the indendation from `package.json` for `package-lock.json` and to avoid the format switching back and forth, both files are now set to 2 spaces.
This commit is contained in:
parent
95443133f6
commit
39610dfd0f
|
@ -22,7 +22,7 @@
|
|||
{
|
||||
"files": ["package.json", "package-lock.json"],
|
||||
"options": {
|
||||
"tabWidth": 4,
|
||||
"tabWidth": 2,
|
||||
"printWidth": 80,
|
||||
"proseWrap": "always"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user