@ntnyq/eslint-config 2.0.0-beta.11 → 2.0.0-beta.12

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { FlatESLintConfig } from 'eslint-define-config';
2
- export { default as tsParser } from '@typescript-eslint/parser';
2
+ import * as parser from '@typescript-eslint/parser';
3
+ export { parser as tsParser };
3
4
  export { default as tsPlugin } from '@typescript-eslint/eslint-plugin';
4
5
  export { default as vueParser } from 'vue-eslint-parser';
5
6
  export { default as vuePlugin } from 'eslint-plugin-vue';
package/dist/index.js CHANGED
@@ -541,7 +541,7 @@ var unicorn = [
541
541
  ];
542
542
 
543
543
  // src/configs/ts.ts
544
- import tsParser from "@typescript-eslint/parser";
544
+ import * as tsParser from "@typescript-eslint/parser";
545
545
  import tsPlugin from "@typescript-eslint/eslint-plugin";
546
546
  var ts = [
547
547
  {
@@ -550,15 +550,16 @@ var ts = [
550
550
  // @ts-expect-error 2322
551
551
  parser: tsParser,
552
552
  parserOptions: {
553
- sourceType: "module"
553
+ sourceType: "module",
554
+ project: true
554
555
  }
555
556
  },
556
557
  plugins: {
557
558
  "@typescript-eslint": tsPlugin
558
559
  },
559
560
  rules: {
560
- ...tsPlugin.configs["eslint-recommended"].overrides[0].rules,
561
561
  ...tsPlugin.configs.recommended.rules,
562
+ ...tsPlugin.configs.stylistic.rules,
562
563
  "@typescript-eslint/no-unused-vars": "error",
563
564
  "@typescript-eslint/no-redeclare": "error",
564
565
  "@typescript-eslint/consistent-type-imports": [
@@ -665,7 +666,7 @@ var vue = [
665
666
 
666
667
  // src/configs/yml.ts
667
668
  import ymlPlugin, { configs } from "eslint-plugin-yml";
668
- import ymlParser from "yaml-eslint-parser";
669
+ import * as ymlParser from "yaml-eslint-parser";
669
670
  var yml = [
670
671
  {
671
672
  files: [GLOB_YAML],
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.11",
5
- "packageManager": "pnpm@8.6.2",
4
+ "version": "2.0.0-beta.12",
5
+ "packageManager": "pnpm@8.6.7",
6
6
  "description": "ESLint flat config of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -30,42 +30,42 @@
30
30
  "eslint": "^8.30.0"
31
31
  },
32
32
  "dependencies": {
33
- "@eslint/js": "^8.43.0",
34
- "@typescript-eslint/eslint-plugin": "^5.59.11",
35
- "@typescript-eslint/parser": "^5.59.11",
33
+ "@eslint/js": "^8.44.0",
34
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
35
+ "@typescript-eslint/parser": "^6.0.0",
36
36
  "astro-eslint-parser": "^0.14.0",
37
37
  "eslint-config-prettier": "^8.8.0",
38
- "eslint-define-config": "^1.20.0",
39
- "eslint-plugin-astro": "^0.27.1",
38
+ "eslint-define-config": "^1.21.0",
39
+ "eslint-plugin-astro": "^0.27.2",
40
40
  "eslint-plugin-eslint-comments": "^3.2.0",
41
41
  "eslint-plugin-import": "^2.27.5",
42
42
  "eslint-plugin-jsonc": "^2.9.0",
43
43
  "eslint-plugin-markdown": "^3.0.0",
44
- "eslint-plugin-prettier": "^4.2.1",
44
+ "eslint-plugin-prettier": "^5.0.0-alpha.2",
45
45
  "eslint-plugin-react": "^7.32.2",
46
46
  "eslint-plugin-react-hooks": "^4.6.0",
47
47
  "eslint-plugin-unicorn": "^47.0.0",
48
- "eslint-plugin-vue": "^9.15.0",
48
+ "eslint-plugin-vue": "^9.15.1",
49
49
  "eslint-plugin-yml": "^1.8.0",
50
50
  "globals": "^13.20.0",
51
51
  "jsonc-eslint-parser": "^2.3.0",
52
52
  "local-pkg": "^0.4.3",
53
- "prettier": "^2.8.8",
53
+ "prettier": "^3.0.0",
54
54
  "vue-eslint-parser": "^9.3.1",
55
55
  "yaml-eslint-parser": "^1.2.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@ntnyq/prettier-config": "^1.9.0",
59
- "@types/node": "^20.3.1",
58
+ "@ntnyq/prettier-config": "^1.10.0",
59
+ "@types/node": "^20.4.1",
60
60
  "bumpp": "^9.1.1",
61
- "eslint": "^8.43.0",
61
+ "eslint": "^8.44.0",
62
62
  "husky": "^8.0.3",
63
63
  "nano-staged": "^0.8.0",
64
64
  "npm-run-all": "^4.1.5",
65
- "pnpm": "^8.6.2",
65
+ "pnpm": "^8.6.7",
66
66
  "rimraf": "^5.0.1",
67
- "tsup": "^7.0.0",
68
- "typescript": "5.1.3"
67
+ "tsup": "^7.1.0",
68
+ "typescript": "5.1.6"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=16.14.0"