Post

JavaScript
JavaScript@JavaScript·
What are some must-haves in your linter config?
English
18
11
129
0
bin_ftt
bin_ftt@bin_ftt·
@JavaScript There are a lot of them but everything that makes the code easier for reading is useful. For example, spaces around brackets and line under 100 characters are my must to have configs.
English
1
1
10
0
Sarju
Sarju@sarjuhansaliya·
@JavaScript - no unused vars - sorted import - no console, warning/error allowed - include prettier plugin
English
1
0
12
0
Gabriela Alessandrini
Gabriela Alessandrini@AlessandGaby·
@JavaScript "off" or 0 - turn the rule off "warn" or 1 - turn the rule on as a warning (doesn't affect exit code) "error" or 2 - turn the rule on as an error (exit code is 1 when triggered)
English
0
0
9
0
andrew
andrew@andysduck·
@JavaScript “react-hooks/exhaustive-deps”: “off”
English
1
0
5
0
Saad Ahmad
Saad Ahmad@imsaadahmad·
@JavaScript 2 tabs(1 in the morning, other in the evening)👀
English
0
0
1
0
rebazjabar
rebazjabar@rebazjabar·
@JavaScript Who has the best OOP course for javascritp?? Free recommended
English
0
0
1
0
共有