From: Alex Lam S.L Date: Tue, 6 Feb 2018 08:48:49 +0000 (+0800) Subject: mention file encoding (#2887) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=dea0cc06624898883c30a0d147b3146027ddc72e;p=UglifyJS.git mention file encoding (#2887) --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd281168..2d991a5f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,6 +18,7 @@ Tests that cannot be expressed as a simple AST can be found in `test/mocha`. ## Code style +- File encoding must be `UTF-8`. - `LF` is always used as a line ending. - Statements end with semicolons. - Indentation uses 4 spaces, switch `case` 2 spaces.