eslint-plugin-ferramentas
Version:
A bundle of useful ESLint rules
6 lines (5 loc) • 1.84 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.name = exports.schema = void 0;
exports.schema = { "type": "array", "items": { "type": "object", "properties": { "sort": { "allOf": [{ "type": "array", "items": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "group" }, "groups": { "allOf": [{ "type": "array", "items": { "type": "string" }, "minItems": 1 }, { "type": "array", "items": { "type": "string" } }] }, "ignore": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": ["type", "groups"] }, { "type": "object", "properties": { "type": { "type": "string", "const": "depth" } }, "additionalProperties": false, "required": ["type"] }, { "type": "object", "properties": { "type": { "type": "string", "const": "name" }, "asc": { "type": "boolean" } }, "additionalProperties": false, "required": ["type"] }] }, "minItems": 1 }, { "type": "array", "items": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "group" }, "groups": { "allOf": [{ "type": "array", "items": { "type": "string" }, "minItems": 1 }, { "type": "array", "items": { "type": "string" } }] }, "ignore": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": ["type", "groups"] }, { "type": "object", "properties": { "type": { "type": "string", "const": "depth" } }, "additionalProperties": false, "required": ["type"] }, { "type": "object", "properties": { "type": { "type": "string", "const": "name" }, "asc": { "type": "boolean" } }, "additionalProperties": false, "required": ["type"] }] } }] }, "debug": { "type": "boolean" } }, "additionalProperties": false, "required": ["sort"] }, "minItems": 1, "maxItems": 1, "definitions": {} };
exports.name = "relative-import-order";