Comments (3)
replaceAll caught us out this week and is in 2021.
Is this issue to support catching 2021 features in the source ?
from es-compat.
Yes.
It should be straightforward if one of you wants to do it - essentially it's do for 2021 the same as I did in older PRs/commits for the other ES versions e.g. 92d5596.
- Add ES2021 to this table https://github.com/robatwilliams/es-compat/blob/master/packages/eslint-plugin-ecmascript-compat/lib/features/es-versions.md - happy to review this first as a draft PR if there's anything non-obvious
- Add all the 2021 stuff here like the others https://github.com/robatwilliams/es-compat/tree/master/packages/eslint-plugin-ecmascript-compat/lib/features
- Update ecmaVersion in eslint parser options to 2021
- Search the whole repo for "2020" as there may be others I don't remember
- Add test cases to the example project (this is used to sanity check the CLI tool's config)
- Run all the checks as per contributing.md
- Update the readme
from es-compat.
released - https://github.com/robatwilliams/es-compat/releases/tag/v2.1.0
from es-compat.
Related Issues (20)
- Fails when checking code with `eslint-disable` comments of unknown rules. HOT 4
- Provenance of NPM package
- Coverage footnotes on readme are not complete
- Support polyfilling/ignoring syntax features HOT 3
- Console logs mess up structured output from ESLint HOT 14
- Update or replace Lerna HOT 4
- Replace Jest with Node test runner?
- Private methods and private fields separation HOT 2
- Allow overriding of rules HOT 1
- New release HOT 2
- Missing some polyfill options HOT 2
- Object rest/spread can be transpiled using Babel HOT 8
- Improve instructions on how to use for the different use cases
- ES2024 HOT 1
- Flat config support / ESLint 9 HOT 4
- Allow specifying polyfills option via CLI
- Popularity and usage monitoring HOT 2
- Allow-listing syntax rules, like is already possible for polyfills HOT 4
- Alignment of polyfill names to real polyfill collections
- Consistently use own prototype method rule
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es-compat.