prettier
91847430 - Quote and unquote number keys (#8508)

Commit
5 years ago
Quote and unquote number keys (#8508) * Quote and unquote number keys * Add changelog entry * Add tests for escapes * Fix idempotency * Only run flow-repo/ tests with flow 271 jsfmt.spec.js in flow-repo use only the flow parser. 18 use flow and babel. Now, all of them use only flow. * Don’t unquote negative numbers * Don’t quote/unquote numbers in TypeScript * Quote BigInt * Fix AST check * Fix condition * Fix BigInt to string * Fix ESLint not recognizing BigInt * Only quote/unquote “simple” numbers * No need to clean BigIntLiteral anymore * Add tests for 1. and .1 * Fix 1. and .1 * Remove unnecessary babel-ts from tests * Only unquote numbers for babel * Update changelog
Author
Parents
Loading