@mikey-pro/eslint-config 3.2.1 → 3.2.2

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/index.cjs +6 -1
  2. package/package.json +2 -1
package/index.cjs CHANGED
@@ -17,7 +17,7 @@ module.exports = {
17
17
  parser: '@typescript-eslint/parser',
18
18
  parserOptions: {
19
19
  tsconfigRootDir: __dirname,
20
- project: ['./tsconfig.json'],
20
+ project: ['../../../tsconfig.json'],
21
21
  sourceType: 'module',
22
22
  ecmaVersion: 'latest',
23
23
  ecmaFeatures: {
@@ -425,6 +425,11 @@ module.exports = {
425
425
  pragma: 'h',
426
426
  version: 'preact',
427
427
  },
428
+ settings: {
429
+ 'import/resolver': {
430
+ typescript: {},
431
+ },
432
+ },
428
433
  },
429
434
  parser: '@babel/eslint-parser',
430
435
  parserOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.cjs",
6
6
  "dependencies": {
@@ -19,6 +19,7 @@
19
19
  "eslint-config-airbnb": "^19.0",
20
20
  "eslint-config-prettier": "^8.3",
21
21
  "eslint-config-standard": "^16.0.3",
22
+ "eslint-import-resolver-typescript": "^2.5.0",
22
23
  "eslint-plugin-compat": "^4.0",
23
24
  "eslint-plugin-css-modules": "^2.11",
24
25
  "eslint-plugin-disable-autofix": "^0.1.6",