Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ricardofbarros/linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://github.com/ricardofbarros/linter-js-standard

atom linter semistandard standard

Last synced: 17 days ago
JSON representation

Atom linter plugin for JavaScript, using JavaScript Standard Style

Awesome Lists containing this project

README

        

# linter-js-standard

![apm](https://img.shields.io/apm/v/linter-js-standard.svg)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

> [Linter](https://github.com/steelbrain/linter) for [JavaScript Standard Style](https://standardjs.com) and its forks.

![](screenshot.png)

## Highlights

- Supports [JavaScript Standard style](https://standardjs.com) and [some of its forks](#default-style).
- Lints JavaScript within HTML and Markdown documents.
- Links to ESLint’s rule documentation.
- Runs globally, if desired.

## Installation

```console
$ apm install linter-js-standard
```

Alternatively, go to Settings → Install and search for `linter-js-standard`.

## Settings

### Default style

Default global style when none is installed locally. Choose between:

- [JavaScript Standard Style (`standard`)](https://standardjs.com)
- [JavaScript Semi-Standard Style (`semistandard`)](https://github.com/Flet/semistandard)

### Only lint if installed locally

Only lint if `standard` (or one of the [other styles](#default-style)) is installed as a dependency (that is, if it is listed in `devDependencies` or `dependencies` in `package.json`).

### Show ESLint rule ID

Show ESLint’s rule ID in the message description. For example: `Extra semicolon. (semi)`.

### Skip if ESLint is installed locally

Skip linting if ESLint is installed locally.

### Lint HTML documents

Lint JavaScript code within `` tags in HTML documents.

### Lint Markdown documents

Lint JavaScript code blocks within Markdown documents.