Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/umijs/umi-plugin-ecma5-validator

Ecmascript 5 syntax validator plugin for umi.
https://github.com/umijs/umi-plugin-ecma5-validator

Last synced: 3 months ago
JSON representation

Ecmascript 5 syntax validator plugin for umi.

Awesome Lists containing this project

README

        

# umi-plugin-ecma5-validator

Ecmascript 5 syntax validator plugin for umi.

## Usage

Install via yarn or npm.

```bash
$ yarn add umi-plugin-react
```

Configure it in the `.umirc.js`.

```js
export default {
plugins: [
['umi-plugin-ecma5-validator', option],
],
};
```

## Option

### option.codeFrame

Specify the option for [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame#options).

### option.acorn

Specify the option for [acorn](https://github.com/acornjs/acorn).

## Pictures

In browser,

In command,

In command without compress,

## Why this package exist?

To avoid cases like these,

## LICENSE

MIT