This is the Linux app named prettier-eslint whose latest release can be downloaded as v16.1.1sourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named prettier-eslint with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS:
prettier-eslint
DESCRIPTION:
The fix feature of eslint is pretty great and can auto-format/fix much of your code according to your ESLint config. prettier is a more powerful automatic formatter. One of the nice things about prettier is how opinionated it is. Unfortunately, it's not opinionated enough and/or some opinions differ from my own. So after prettier formats the code, I start getting linting errors. This formats your code via prettier, and then passes the result of that to eslint --fix. This way you can get the benefits of prettier's superior formatting capabilities, but also benefit from the configuration capabilities of eslint. The path of the file being formatted can be used to override eslintConfig (eslint will be used to find the relevant config for the file).
Features
- The config to use for formatting with ESLint. Can be overridden with filePath
- The path of the file being formatted can be used to override eslintConfig (eslint will be used to find the relevant config for the file)
- prettier-eslint does quite a bit of logging if you want it to
- By default, prettier-eslint will run prettier first, then eslint --fix
- prettier-eslint will only propagate parsing errors when either prettier or eslint fails
- The eslintConfig and prettierOptions can each be provided as an argument
Programming Language
JavaScript
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/prettier-eslint.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.