Skip to content

Commit c8ec509

Browse files
committed
tweak formatter config a bit
1 parent 05ce4c3 commit c8ec509

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

lib/package/config.coffee

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,20 @@ config =
122122
title: 'Formatting Options'
123123
description:
124124
'''
125-
This config is deprecated. In order to specify [Formatting Options](https://domluna.github.io/JuliaFormatter.jl/dev/#Formatting-Options-1),
125+
⚠ This config is deprecated. In order to specify
126+
[Formatting Options](https://domluna.github.io/JuliaFormatter.jl/dev/#Formatting-Options-1),
126127
use `.JuliaFormatter.toml` configuration file instead.
127-
See the ["Configuration File" section in JuliaFormatter.jl's documentation](https://domluna.github.io/JuliaFormatter.jl/dev/config/)
128-
for more details.
128+
See the ["Configuration File" section](https://domluna.github.io/JuliaFormatter.jl/stable/config/)
129+
in JuliaFormatter.jl's documentation for more details.
129130
'''
130131
type: 'object'
131132
order: 14
132133
collapsed: true
133134
properties:
134-
mock:
135-
title: 'mock (not appear in the settings view)'
136-
type: 'object'
137-
default: {}
135+
mock: # NOTE: otherwise the deprecated description doesn't show up
136+
title: "mock (doesn't have any effect)"
137+
type: 'boolean'
138+
default: false
138139

139140
uiOptions:
140141
title: 'UI Options'

0 commit comments

Comments
 (0)