Skip to content

Commit

Permalink
Added $schema to all schemas an unified whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Mar 21, 2020
1 parent ba16486 commit f2a6ab4
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 26 deletions.
17 changes: 9 additions & 8 deletions schemas/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"allowComments": true,
"allowTrailingCommas": true,
"title": "JSON schema for the JavaScript configuration file",
"type": "object",
"default": {
"compilerOptions": {
"target": "es6"
}
"$schema": "http://json-schema.org/draft-07/schema#",
"allowComments": true,
"allowTrailingCommas": true,
"title": "JSON schema for the JavaScript configuration file",
"type": "object",
"default": {
"compilerOptions": {
"target": "es6"
}
}
}
12 changes: 6 additions & 6 deletions schemas/package-json-eslint.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"eslintConfig": {
"description": "ESLint configuration",
"$ref": "http://json.schemastore.org/eslintrc"
}
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"eslintConfig": {
"description": "ESLint configuration",
"$ref": "http://json.schemastore.org/eslintrc"
}
}
}
1 change: 1 addition & 0 deletions schemas/sublime-color-scheme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-color-scheme",
"title": "Sublime Text Color Scheme",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-commands.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-commands",
"title": "Sublime Text Commands",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-completions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-completions",
"title": "Sublime Text Completions",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-keymap.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-keymap",
"title": "Sublime Text Keymap",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-macro.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-macro",
"title": "Sublime Text Macro",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-menu.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-menu",
"title": "Sublime Text Menu",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-mousemap.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-mousemap",
"title": "Sublime Text Mousemap",
"allowComments": true,
Expand Down
1 change: 1 addition & 0 deletions schemas/sublime-theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "sublime://sublime-theme",
"title": "Sublime Text Theme",
"allowComments": true,
Expand Down
25 changes: 13 additions & 12 deletions schemas/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"allowComments": true,
"allowTrailingCommas": true,
"title": "JSON schema for the TypeScript compiler's configuration file",
"type": "object",
"default": {
"compilerOptions": {
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}
"$schema": "http://json-schema.org/draft-07/schema#",
"allowComments": true,
"allowTrailingCommas": true,
"title": "JSON schema for the TypeScript compiler's configuration file",
"type": "object",
"default": {
"compilerOptions": {
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}
}
1 change: 1 addition & 0 deletions schemas/vscode-base.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"id": "vscode://schemas/base",
"allowComments": true,
"allowTrailingCommas": true,
Expand Down

0 comments on commit f2a6ab4

Please sign in to comment.