@joshuaavalon/eslint-config-typescript 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -162,9 +162,12 @@ const rules = {
162
162
 
163
163
  /** @type {import("eslint").Linter.FlatConfig} */
164
164
  const config = {
165
- plugins: { "@typescript-eslint": typescript.plugin },
165
+ plugins: {
166
+ ...jsRules.plugins,
167
+ "@typescript-eslint": typescript.plugin
168
+ },
166
169
  rules: {
167
- ...jsRules,
170
+ ...jsRules.rules,
168
171
  ...rules,
169
172
  ...formatRules
170
173
  }
package/dist/esm/index.js CHANGED
@@ -160,9 +160,12 @@ const rules = {
160
160
 
161
161
  /** @type {import("eslint").Linter.FlatConfig} */
162
162
  const config = {
163
- plugins: { "@typescript-eslint": typescript.plugin },
163
+ plugins: {
164
+ ...jsRules.plugins,
165
+ "@typescript-eslint": typescript.plugin
166
+ },
164
167
  rules: {
165
- ...jsRules,
168
+ ...jsRules.rules,
166
169
  ...rules,
167
170
  ...formatRules
168
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joshuaavalon/eslint-config-typescript",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Shareable ESLint Typescript config.",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -34,7 +34,7 @@
34
34
  "url": "https://github.com/joshuaavalon/eslint-config/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@joshuaavalon/eslint-config-javascript": "^7.0.0",
37
+ "@joshuaavalon/eslint-config-javascript": "^7.0.1",
38
38
  "typescript-eslint": "^7.0.1"
39
39
  },
40
40
  "peerDependencies": {