Skip to content

bohessner/testbabel

Repository files navigation

Babel

Installation - babel & eslint

npm install balbel-cli -d

npm install babel-preset-env -d

npm install babel-eslint -d

npm install eslint-config-airbnb -d

npm install eslint-plugin-jsx-a11y@ -d

npm install eslint-plugin-react -d

Installation - web server

npm install express -d npm install serve-static -d

Start local webserver

node server

Start babel watcher

Start task: babel-watch

Eslint - autoFixOnSave

File->Preferences->Settings

User Settings: "eslint.autoFixOnSave": true

Links

https://babeljs.io/docs/plugins/preset-env/

https://github.com/airbnb/javascript

https://medium.freecodecamp.org/adding-some-air-to-the-airbnb-style-guide-3df40e31c57a

https://eslint.org/docs/rules/

We need a bundler to excute import/eksport in a browser

Select af bundler branch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors