CodeStyleAndLinting
Last modified by Manuel Leduc on 2023/10/26 17:21
Options
- eslint (Vue 3 default)
rome discontinued- quick-lint-js
- standardjs
- putout
- jshint
- prettier code formatting only (Vue 3 default)
- biome
Criteria
- editor support, must be compatible with mainstream IDE (e.g., VSCode/Idea...)
- modular/extensible
Choice Matrix
| Library | Analysis | Governance | Github link | License | Editor Support | Modular/Extensible |
|---|---|---|---|---|---|---|
| eslint | Community (part of https://openjsf.org/) | https://github.com/eslint/eslint | MIT | |||
| quick-lint-js | https://github.com/quick-lint/quick-lint-js | GPL 3.0 | ||||
| standardjs | https://github.com/standard/standard | MIT | ||||
| putout |
Build on top of eslint and babel, take a more radical stance on fixing and allow itself to apply fix than can change the semantics. | https://github.com/coderaiser/putout | MIT | |||
| jshint | https://github.com/jshint/jshint | MIT | ||||
| biome | https://github.com/biomejs/biome | MIT |