<input id="email" type="text" name="email" style="height: 0" />
<input id="password" type="password" name="password" style="height: 0" />This is tutorial of onfiguring eslint, prettier for your project
Make your code great again
- Eslint
First of all we need to install eslint and configs as dev dependencies. You can use your own config, but I will use config from airbnb:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |