Skip to content

Commit

Permalink
Fixes #805: Autocompletion inside package.json for tooling packages c…
Browse files Browse the repository at this point in the history
…onfigs (e.g. eslint, babel)
  • Loading branch information
dbaeumer committed Jan 20, 2020
1 parent a89b72c commit 4a98b84
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package-json-schema.json
@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"eslintConfig": {
"description": "ESLint configuration",
"$ref": "http://json.schemastore.org/eslintrc"
}
}
}
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -409,6 +409,10 @@
{
"fileMatch": ".eslintrc.json",
"url": "http://json.schemastore.org/eslintrc"
},
{
"fileMatch": "package.json",
"url": "./package-json-schema.json"
}
],
"languages": [
Expand Down

0 comments on commit 4a98b84

Please sign in to comment.