Skip to content

Schema fetch failures when systems proxy protection requires SSL #1027

Closed
@Michael-Macal

Description

@Michael-Macal

Network traffic protected by the preferred secure ONLY (https only) security settings will not be able to fetch the eslintrc schema.

see https://www.blog.google/products/chrome/milestone-chrome-security-marking-http-not-secure/

Suggested fix: update jsonValidation urls from http to https

existing entries in package.json

		"jsonValidation": [
			{
				"fileMatch": ".eslintrc",
				"url": "http://json.schemastore.org/eslintrc"
			},
			{
				"fileMatch": ".eslintrc.json",
				"url": "http://json.schemastore.org/eslintrc"
			},
			{
				"fileMatch": "package.json",
				"url": "./package-json-schema.json"
			}
		],

suggested change:

		"jsonValidation": [
			{
				"fileMatch": ".eslintrc",
				"url": "https://json.schemastore.org/eslintrc"
			},
			{
				"fileMatch": ".eslintrc.json",
				"url": "https://json.schemastore.org/eslintrc"
			},
			{
				"fileMatch": "package.json",
				"url": "./package-json-schema.json"
			}
		],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions