Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/umijs/umi-plugin-ecma5-validator
- Owner: umijs
- Created: 2018-09-05T09:28:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T00:20:53.000Z (about 6 years ago)
- Last Synced: 2024-07-28T18:29:39.767Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 11
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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