A change to our Prettier/ESLint setup has just landed on mozilla-central:
It is highly recommended to enable automatic formatting when saving files. Most editors have options or plug-ins where you can enable Prettier & ESLint integrations.
For VS Code, we have updated ./mach ide vscode to automatically set the format on save options for Prettier. This assumes the recommended Prettier extension is installed.
./mach ide vscode will also now
work for artifact builds.
There is more documentation about the VS Code setup in the contributing guide on Firefox source docs (it may take a few hours for the latest update to generate).
Any questions, please visit #lint:mozilla.org on Matrix.