File tree Expand file tree Collapse file tree 6 files changed +310
-131
lines changed
debug_toolbar/static/debug_toolbar Expand file tree Collapse file tree 6 files changed +310
-131
lines changed Original file line number Diff line number Diff line change @@ -23,26 +23,10 @@ repos:
2323 hooks :
2424 - id : rst-backticks
2525 - id : rst-directive-colons
26- - repo : https://github.com/pre-commit/mirrors-prettier
27- rev : v4.0.0-alpha.8
28- hooks :
29- - id : prettier
30- entry : env PRETTIER_LEGACY_CLI=1 prettier
31- types_or : [javascript, css]
32- args :
33- - --trailing-comma=es5
34- - repo : https://github.com/pre-commit/mirrors-eslint
35- rev : v9.21.0
36- hooks :
37- - id : eslint
38- additional_dependencies :
39- - " eslint@v9.21.0"
40- - " @eslint/js@v9.21.0"
41- - " globals"
42- files : \.js?$
43- types : [file]
44- args :
45- - --fix
26+ - repo : https://github.com/biomejs/pre-commit
27+ rev : v1.9.4
28+ hooks :
29+ - id : biome-check
4630- repo : https://github.com/astral-sh/ruff-pre-commit
4731 rev : ' v0.9.7'
4832 hooks :
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://biomejs.dev/schemas/1.9.4/schema.json" ,
3+ "formatter" : {
4+ "enabled" : true ,
5+ "useEditorconfig" : true
6+ },
7+ "organizeImports" : {
8+ "enabled" : true
9+ },
10+ "linter" : {
11+ "enabled" : true ,
12+ "rules" : {
13+ "recommended" : true ,
14+ "complexity" : {
15+ "useArrowFunction" : " off" ,
16+ "noForEach" : " off"
17+ },
18+ "style" : {
19+ "noArguments" : " off" ,
20+ "noParameterAssign" : " off" ,
21+ "noUselessElse" : " off" ,
22+ "useSingleVarDeclarator" : " off" ,
23+ "useTemplate" : " off"
24+ },
25+ "suspicious" : {
26+ "noAssignInExpressions" : " off"
27+ }
28+ }
29+ },
30+ "javascript" : {
31+ "formatter" : {
32+ "trailingCommas" : " es5" ,
33+ "quoteStyle" : " double"
34+ }
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments