summaryrefslogtreecommitdiff
path: root/.prettierignore
AgeCommit message (Collapse)Author
2023-01-23LibJS: Add DisposableStack{, Prototype, Constructor}davidot
Since the async parts of the spec are not stage 3 at this point we don't add AsyncDisposableStack.
2023-01-23LibJS: Add using declaration support in for and for of loopsdavidot
The using declarations have kind of special behavior in for loops so this is seperated.
2023-01-23LibJS: Add using declaration support, RAII like operation in jsdavidot
In this patch only top level and not the more complicated for loop using statements are supported. Also, as noted in the latest meeting of tc39 async parts of the spec are not stage 3 thus not included.
2022-09-02LibJS: Handle empty named exportdavidot
This is an export which looks like `export {} from "module"`, and although it doesn't have any real export entries it should still add "module" to the required modules to load.
2022-08-26Meta: Remove a couple of files from .prettierignoreLinus Groh
These are now formatted just fine and no longer cause errors or unintended formatting changes.
2021-11-21CI: Bump prettier to latest version (2.4.1)Linus Groh
We didn't initially upgrade because it started to (incorrectly) see files as strict mode and chokes on things that then would be syntax errors - but we're starting to fall behind a bit, so I'd rather put these files on the ignore list instead.
2021-08-19LibJS: Allow Unicode escape sequences in identifiersTimothy Flynn
For example, "property.br\u{64}wn" should resolve to "property.brown". To support this behavior, this commit changes the Token class to hold both the evaluated identifier name and a view into the original source for the unevaluated name. There are some contexts in which identifiers are not allowed to contain Unicode escape sequences; for example, export statements of the form "export {} from foo.js" forbid escapes in the identifier "from". The test file is added to .prettierignore because prettier will replace all escaped Unicode sequences with their unescaped value.
2021-06-23LibJS: Correct behaviour of direct vs. indirect evalAnonymous
eval only has direct access to the local scope when accessed through the name eval. This includes locals named eval, because of course it does.
2020-12-27Meta: Add lint-prettier.shLinus Groh
This is a script similar to the clang-format one to ensure prettier formatting of most JavaScript files.
2020-12-27Base+LibJS+LibWeb: Make prettier cleanLinus Groh
Also use "// prettier-ignore" comments where necessary rather than excluding whole files (via .prettierignore).
2020-08-24Meta: Move prettier config files to the root of the repositoryAnotherTest