@sequencemedia/eslint-config-typescript 0.1.0 → 0.1.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.
@@ -1,6 +1,4 @@
1
- import {
2
- parser
3
- } from 'typescript-eslint'
1
+ import parser from '@typescript-eslint/parser'
4
2
  import typescript from './typescript.mjs'
5
3
 
6
4
  export default {
@@ -8,7 +6,8 @@ export default {
8
6
  languageOptions: {
9
7
  parser,
10
8
  parserOptions: {
11
- projectService: true
9
+ projectService: true,
10
+ project: 'tsconfig.json'
12
11
  }
13
12
  },
14
13
  linterOptions: {
@@ -1,6 +1,4 @@
1
- import {
2
- plugin as t
3
- } from 'typescript-eslint'
1
+ import t from '@typescript-eslint/eslint-plugin'
4
2
  import c from 'eslint-plugin-eslint-comments'
5
3
  import n from 'eslint-plugin-n'
6
4
  import p from 'eslint-plugin-promise'
package/index.mjs CHANGED
@@ -1,8 +1,6 @@
1
- import {
2
- parser
3
- } from 'typescript-eslint'
4
- import recommended from '#eslint-config-typescript/configs/recommended'
5
- import typescript from '#eslint-config-typescript/configs/typescript'
1
+ import parser from '@typescript-eslint/parser'
2
+ import recommended from './configs/recommended.mjs'
3
+ import typescript from './configs/typescript.mjs'
6
4
 
7
5
  export const configs = {
8
6
  recommended,
@@ -15,7 +13,8 @@ export default [
15
13
  languageOptions: {
16
14
  parser,
17
15
  parserOptions: {
18
- projectService: true
16
+ projectService: true,
17
+ project: 'tsconfig.json'
19
18
  }
20
19
  },
21
20
  linterOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/eslint-config-typescript",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "TypeScript configuration for ESLint 9",
5
5
  "keywords": [
6
6
  "JavaScript TypeScript Style",
@@ -52,15 +52,16 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@sequencemedia/eslint-merge": "^0.0.4",
55
+ "@typescript-eslint/eslint-plugin": "^8.17.0",
56
+ "@typescript-eslint/parser": "^8.17.0",
55
57
  "eslint-plugin-eslint-comments": "^3.2.0",
56
58
  "eslint-plugin-import": "^2.31.0",
57
59
  "eslint-plugin-n": "^17.14.0",
58
60
  "eslint-plugin-promise": "^7.2.1",
59
- "globals": "^15.13.0",
60
- "typescript-eslint": "^8.17.0"
61
+ "globals": "^15.13.0"
61
62
  },
62
63
  "devDependencies": {
63
- "@sequencemedia/eslint-config-standard": "^0.2.0",
64
+ "@sequencemedia/eslint-config-standard": "^0.2.2",
64
65
  "chai": "^5.1.2",
65
66
  "eslint": "^9.16.0",
66
67
  "husky": "^9.1.7",
@@ -2,9 +2,7 @@ import {
2
2
  expect
3
3
  } from 'chai'
4
4
 
5
- import {
6
- parser
7
- } from 'typescript-eslint'
5
+ import parser from '@typescript-eslint/parser'
8
6
 
9
7
  import TYPESCRIPT from '@sequencemedia/eslint-config-typescript/configs/typescript'
10
8
 
@@ -60,7 +58,8 @@ describe('@sequencemedia/eslint-config-typescript/merge', () => {
60
58
  languageOptions: {
61
59
  parser,
62
60
  parserOptions: {
63
- projectService: true
61
+ projectService: true,
62
+ project: 'tsconfig.json'
64
63
  }
65
64
  },
66
65
  linterOptions: {