@joshuaavalon/eslint-config-typescript 7.0.0 → 7.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  var typescript = require('typescript-eslint');
4
4
  var jsRules = require('@joshuaavalon/eslint-config-javascript');
5
- var formatRules = require('@joshuaavalon/eslint-config-javascript/stylistic');
6
5
 
7
6
  /** @type {import("eslint").Linter.RulesRecord} */
8
7
  const extensionRules = {
@@ -162,11 +161,13 @@ const rules = {
162
161
 
163
162
  /** @type {import("eslint").Linter.FlatConfig} */
164
163
  const config = {
165
- plugins: { "@typescript-eslint": typescript.plugin },
164
+ plugins: {
165
+ ...jsRules.plugins,
166
+ "@typescript-eslint": typescript.plugin
167
+ },
166
168
  rules: {
167
- ...jsRules,
168
- ...rules,
169
- ...formatRules
169
+ ...jsRules.rules,
170
+ ...rules
170
171
  }
171
172
  };
172
173
 
package/dist/esm/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import typescript from 'typescript-eslint';
2
2
  import jsRules from '@joshuaavalon/eslint-config-javascript';
3
- import formatRules from '@joshuaavalon/eslint-config-javascript/stylistic';
4
3
 
5
4
  /** @type {import("eslint").Linter.RulesRecord} */
6
5
  const extensionRules = {
@@ -160,11 +159,13 @@ const rules = {
160
159
 
161
160
  /** @type {import("eslint").Linter.FlatConfig} */
162
161
  const config = {
163
- plugins: { "@typescript-eslint": typescript.plugin },
162
+ plugins: {
163
+ ...jsRules.plugins,
164
+ "@typescript-eslint": typescript.plugin
165
+ },
164
166
  rules: {
165
- ...jsRules,
166
- ...rules,
167
- ...formatRules
167
+ ...jsRules.rules,
168
+ ...rules
168
169
  }
169
170
  };
170
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.2",
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.2",
38
38
  "typescript-eslint": "^7.0.1"
39
39
  },
40
40
  "peerDependencies": {