diff --git a/package-json-schema.json b/package-json-schema.json new file mode 100644 index 00000000..5d012d27 --- /dev/null +++ b/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" + } + } +} \ No newline at end of file diff --git a/package.json b/package.json index bab659e4..694c0e8d 100644 --- a/package.json +++ b/package.json @@ -409,6 +409,10 @@ { "fileMatch": ".eslintrc.json", "url": "http://json.schemastore.org/eslintrc" + }, + { + "fileMatch": "package.json", + "url": "./package-json-schema.json" } ], "languages": [