mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 17:07:08 +02:00
chore: clean up ESLint config, enable a few rules (#6514)
* chore: clean up ESLint config, enable a few rules * enable max-len for comments * fix build
This commit is contained in:
parent
b8ccb869f1
commit
aa446b7a9c
167 changed files with 1157 additions and 960 deletions
|
@ -8,14 +8,16 @@
|
|||
import {Translations} from '@crowdin/crowdin-api-client';
|
||||
|
||||
/*
|
||||
Crowdin does not support concurrent "project builds" (downloads of translations).
|
||||
The Crowdin CLI fails with error 409, and it leads to failures on Netlify.
|
||||
Crowdin does not support concurrent "project builds" (downloads of
|
||||
translations). The Crowdin CLI fails with error 409, and it leads to failures on
|
||||
Netlify.
|
||||
|
||||
On Docusaurus, when we commit on main, we have 2 Netlify deployments triggered:
|
||||
- prod
|
||||
- i18n-staging (work-in-progress locales)
|
||||
|
||||
This script helps the 2 deployments to not download translations concurrently from Crowdin.
|
||||
This script helps the 2 deployments to not download translations concurrently
|
||||
from Crowdin.
|
||||
*/
|
||||
|
||||
const pollInterval = 5000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue