Skip to content

Commit

Permalink
chore: use eslint-define-config (#2688)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Mar 31, 2021
1 parent 5bf0509 commit 34bd628
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
// @ts-check
const { defineConfig } = require('eslint-define-config')

module.exports = defineConfig({
root: true,
extends: ['plugin:node/recommended'],
parser: '@typescript-eslint/parser',
Expand Down Expand Up @@ -80,4 +83,4 @@ module.exports = {
}
}
]
}
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"cross-env": "^7.0.3",
"enquirer": "^2.3.6",
"eslint": "^7.15.0",
"eslint-define-config": "^1.0.3",
"eslint-plugin-node": "^11.1.0",
"execa": "^5.0.0",
"fs-extra": "^9.0.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2882,6 +2882,11 @@ escodegen@^2.0.0:
optionalDependencies:
source-map "~0.6.1"

eslint-define-config@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/eslint-define-config/-/eslint-define-config-1.0.3.tgz#26efbf9124d3855c8ff49233e6d3e3e3be939f60"
integrity sha512-GlfTqk2lysLHRx4YH3xuliY06t/p4WMZc3GABLqZ84RcxJxwRVMp0qF9cQSL42gf0pO7IY+dyUsxMrv2b6rZTQ==

eslint-plugin-es@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893"
Expand Down

0 comments on commit 34bd628

Please sign in to comment.