项目作者: linterhub

项目描述 :
JSON schemas for linterhub
高级语言: JavaScript
项目地址: git://github.com/linterhub/schema.git
创建时间: 2018-06-13T20:10:00Z
项目社区:https://github.com/linterhub/schema

开源协议:MIT License

下载


@linterhub/schema travis semantic @linterhub/schema"">npm github

JSON Schema definitions for linterhub

Table of Contents

Background

There are a lot of linters of different types, distributed
in different ways and each may have specific runtime dependencies.
This repository contains a proposal of unified linter definition,
distribution and configuration formats (JSON Schema & JSON files).
Under the hood, the main idea is pretty similar to
meta-package managers approach.

More details in doс or at the catalog page.

Installation

NPM

Requirements:

  1. npm install @linterhub/schema --save-dev

GitHub

All schemas and the source code are available for download
at GitHub Releases and
GitHub pages as well.

Usage

JavaScript

Get Schema for linter definition and output it to console:

  1. const schema = require('@linterhub/schema');
  2. console.log(schema.linter);

JSON

Describe the linter capabilities and provide some extra info:
how to install it and how to execute it - Step by Step guide.

Contribute

You may contribute in several ways like requesting new features,
adding tests, fixing bugs, improving documentation or examples.
Please check our contributing guidelines.

License

MIT