@zjutjh/eslint-config 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -130,6 +130,10 @@ function getOverrides(options, key) {
130
130
 
131
131
  // src/configs/typescript.ts
132
132
  async function typescript(options) {
133
+ await ensurePackages([
134
+ "@typescript-eslint/eslint-plugin",
135
+ "@typescript-eslint/parser"
136
+ ]);
133
137
  const [
134
138
  pluginTs,
135
139
  parserTs
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zjutjh/eslint-config",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "license": "ISC",
6
6
  "author": "zjutjh",
7
7
  "description": "Eslint config used by zjutjh",