Skip to content

Commit

Permalink
docs: no need for eslint-env because standard config already set th…
Browse files Browse the repository at this point in the history
…e node env
  • Loading branch information
sodatea committed Jul 21, 2022
1 parent ab7f38d commit 0487a18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/eslint-config-standard/README.md
Expand Up @@ -23,7 +23,6 @@ npm add --dev @vue/eslint-config-standard @rushstack/eslint-patch
An example `.eslintrc.cjs`:

```js
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution")

module.exports = {
Expand All @@ -45,7 +44,6 @@ In that case, we provided a helper function to simplify the task.
For example, it is a widely accepted convention to use `@` as an alias to the `src` folder in the Vue ecosystem. To enable this, you can use the following config:

```js
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

const path = require('node:path')
Expand Down

0 comments on commit 0487a18

Please sign in to comment.