Skip to content

Commit

Permalink
chore: fix prettier & eslint readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Mar 31, 2020
1 parent 78dee82 commit 1985420
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions packages/plugin-eslint/readme.md
Expand Up @@ -5,7 +5,7 @@
## Install

```sh
$ npm install --save-dev @pwa/plugin-eslint
$ npm install --save-dev @pwa/plugin-eslint eslint
```

## Usage
Expand All @@ -24,12 +24,13 @@ You may also define or use existing `.eslintrc.*` files in your project. You may
exports.eslint = {
cache: true,
parserOptions: {
parser: 'babel-eslint'
ecmaVersion: 10,
parser: 'babel-eslint',
sourceType: 'module',
}
}
```

***Available Options:***

See [Options](https://github.com/webpack-contrib/eslint-loader#options) for `eslint-loader` and [ESLint's Options](https://eslint.org/docs/developer-guide/nodejs-api#cliengine) too.

5 changes: 2 additions & 3 deletions packages/plugin-prettier/readme.md
Expand Up @@ -5,7 +5,7 @@
## Install

```sh
$ npm install --save-dev @pwa/plugin-prettier
$ npm install --save-dev @pwa/plugin-prettier prettier
```

## Usage
Expand All @@ -29,11 +29,10 @@ By default, Prettier's [configuration files](https://prettier.io/docs/en/configu

```js
exports.prettier = {
parser: 'babylon'
parser: 'babel'
}
```

***Available Options:***

See Prettier's [Options](https://prettier.io/docs/en/options.html)

0 comments on commit 1985420

Please sign in to comment.