Wiki source code of CodeStyleAndLinting
Last modified by Manuel Leduc on 2023/10/26 17:21
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | == Options == | ||
| 2 | |||
| 3 | * [[eslint>>https://eslint.org/]] (Vue 3 default) | ||
| 4 | * (x) [[rome>>https://github.com/rome/tools]] discontinued | ||
| 5 | * [[quick-lint-js>>https://quick-lint-js.com/]] | ||
| 6 | * [[standardjs>>https://standardjs.com/]] | ||
| 7 | * [[putout>>https://github.com/coderaiser/putout]] | ||
| 8 | * [[jshint>>https://jshint.com/]] | ||
| 9 | * [[prettier>>https://prettier.io/]] code formatting only (Vue 3 default) | ||
| 10 | * [[biome>>https://biomejs.dev/]] | ||
| 11 | |||
| 12 | == Criteria == | ||
| 13 | |||
| 14 | * editor support, must be compatible with mainstream IDE (e.g., VSCode/Idea...) | ||
| 15 | * modular/extensible | ||
| 16 | |||
| 17 | == Choice Matrix == | ||
| 18 | |||
| 19 | |=Library|=Analysis|=Governance|=Github link|=License|=Editor Support|=Modular/Extensible | ||
| 20 | |=eslint|(/) standard for Vue 3 + supported by a community|Community (part of [[https:~~/~~/openjsf.org/)>>https://openjsf.org/]]|[[https:~~/~~/github.com/eslint/eslint>>https://github.com/eslint/eslint]]|MIT|(/) yes, see [[https:~~/~~/eslint.org/docs/latest/use/integrations>>https://eslint.org/docs/latest/use/integrations]]|(/) yes, see [[https:~~/~~/eslint.org/docs/latest/extend/ways-to-extend>>https://eslint.org/docs/latest/extend/ways-to-extend]] | ||
| 21 | |=quick-lint-js|(x) no IDE support| |[[https:~~/~~/github.com/quick-lint/quick-lint-js>>https://github.com/quick-lint/quick-lint-js]]|GPL 3.0|(!) no support for Jetbrains IDEs|(x) no | ||
| 22 | |=standardjs|(x) not extensible| |[[https:~~/~~/github.com/standard/standard>>https://github.com/standard/standard]]|MIT|(/) yes, see [[https:~~/~~/github.com/standard/standard#are-there-text-editor-plugins>>https://github.com/standard/standard#are-there-text-editor-plugins]]|(x) no | ||
| 23 | |=putout|((( | ||
| 24 | (x) one main contributor, not popular enough | ||
| 25 | |||
| 26 | 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. | ||
| 27 | )))|(!) 1 main contributor|[[https:~~/~~/github.com/coderaiser/putout>>https://github.com/coderaiser/putout]]|MIT| |(/) yes | ||
| 28 | |=jshint|(x) not extensible| |[[https:~~/~~/github.com/jshint/jshint>>https://github.com/jshint/jshint]]|MIT|(x) no|(/) yes | ||
| 29 | |=biome|(x) not extensible, no IDE support| |[[https:~~/~~/github.com/biomejs/biome>>https://github.com/biomejs/biome]]|MIT|(x) no support for Jetbrains IDEs|(x) not | ||
| 30 | |||
| 31 |