However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do. You should see the linter output right in your terminal as well as the browser console. Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint. Note: this feature is available with and higher. Some of the most popular editors are covered. To configure the syntax highlighting in your favorite text editor, head to the relevant Babel documentation page and follow the instructions. If you use any other ES6+ features that need runtime support (such as om() or Symbol), make sure you are including the appropriate polyfills manually, or that the browsers you are targeting already support them. Note that the project only includes a few ES6 polyfills: While we recommend using experimental proposals with some caution, Facebook heavily uses these features in the product code, so we intend to provide codemods if any of these proposals change in the future. Learn more about different proposal stages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |