Skip to content

Commit ce60d44

Browse files
committed
Use two spaces for JSON indentation
1 parent 6eca324 commit ce60d44

File tree

2 files changed

+66
-68
lines changed

2 files changed

+66
-68
lines changed

extension.json

Lines changed: 62 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,69 @@
11
{
2-
"identifier": "is.flother.Blake",
3-
"name": "Blake",
4-
"organization": "Flother",
5-
"description": "Lint your Python source code with Flake8, format it with Black",
6-
"version": "0.6.0",
7-
"categories": ["issues", "formatters", "commands"],
8-
"homepage": "https://extensions.panic.com/extensions/is.flother/is.flother.Blake/",
9-
"repository": "https://github.com/flother/Blake.novaextension",
10-
"bugs": "https://github.com/flother/Blake.novaextension/issues",
11-
"license": "MIT",
12-
"main": "main.js",
13-
"activationEvents": [
14-
"onLanguage:python"
15-
],
16-
"entitlements": {
17-
"process": true
18-
},
19-
"commands": {
20-
"editor": [
21-
{
22-
"title": "Format Source Code with Black",
23-
"command": "formatSourceCodeWithBlack",
24-
"shortcut": "cmd-shift-B",
25-
"filters": {
26-
"syntaxes": ["python"]
27-
}
28-
}
29-
]
2+
"identifier": "is.flother.Blake",
3+
"name": "Blake",
4+
"organization": "Flother",
5+
"description": "Lint your Python source code with Flake8, format it with Black",
6+
"version": "0.6.0",
7+
"categories": ["issues", "formatters", "commands"],
8+
"homepage": "https://extensions.panic.com/extensions/is.flother/is.flother.Blake/",
9+
"repository": "https://github.com/flother/Blake.novaextension",
10+
"bugs": "https://github.com/flother/Blake.novaextension/issues",
11+
"license": "MIT",
12+
"main": "main.js",
13+
"activationEvents": ["onLanguage:python"],
14+
"entitlements": {
15+
"process": true
16+
},
17+
"commands": {
18+
"editor": [
19+
{
20+
"title": "Format Source Code with Black",
21+
"command": "formatSourceCodeWithBlack",
22+
"shortcut": "cmd-shift-B",
23+
"filters": {
24+
"syntaxes": ["python"]
25+
}
26+
}
27+
]
28+
},
29+
"configWorkspace": [
30+
{
31+
"title": "Flake8",
32+
"type": "section",
33+
"children": [
34+
{
35+
"key": "is.flother.Blake.flake8ExecutablePath",
36+
"title": "Executable path",
37+
"description": "Path to this workspace's Flake8 executable",
38+
"type": "path",
39+
"placeholder": "/usr/bin/env flake8"
40+
}
41+
]
3042
},
31-
"configWorkspace": [
43+
{
44+
"title": "Black",
45+
"type": "section",
46+
"children": [
47+
{
48+
"key": "is.flother.Blake.blackExecutablePath",
49+
"title": "Executable path",
50+
"description": "Path to this workspace's Black executable",
51+
"type": "path",
52+
"placeholder": "/usr/bin/env black"
53+
},
3254
{
33-
"title": "Flake8",
34-
"type": "section",
35-
"children": [
36-
{
37-
"key": "is.flother.Blake.flake8ExecutablePath",
38-
"title": "Executable path",
39-
"description": "Path to this workspace's Flake8 executable",
40-
"type": "path",
41-
"placeholder": "/usr/bin/env flake8"
42-
}
43-
]
55+
"key": "is.flother.Blake.maxLineLength",
56+
"title": "Max line length",
57+
"type": "number",
58+
"placeholder": 88
4459
},
4560
{
46-
"title": "Black",
47-
"type": "section",
48-
"children": [
49-
{
50-
"key": "is.flother.Blake.blackExecutablePath",
51-
"title": "Executable path",
52-
"description": "Path to this workspace's Black executable",
53-
"type": "path",
54-
"placeholder": "/usr/bin/env black"
55-
},
56-
{
57-
"key": "is.flother.Blake.maxLineLength",
58-
"title": "Max line length",
59-
"type": "number",
60-
"placeholder": 88
61-
},
62-
{
63-
"key": "is.flother.Blake.formatOnSave",
64-
"title": "Format Python source code files on save",
65-
"type": "boolean",
66-
"default": false
67-
}
68-
]
61+
"key": "is.flother.Blake.formatOnSave",
62+
"title": "Format Python source code files on save",
63+
"type": "boolean",
64+
"default": false
6965
}
70-
]
66+
]
67+
}
68+
]
7169
}

rome.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"formatter": {
3-
"indentStyle": "space",
4-
"lineWidth": 100
5-
}
2+
"formatter": {
3+
"indentStyle": "space",
4+
"lineWidth": 100
5+
}
66
}

0 commit comments

Comments
 (0)