@tanstack/eslint-config 0.3.0 → 0.3.1

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/package.json +7 -10
  2. package/src/index.js +0 -33
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/eslint-config",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Shared ESLint config used by TanStack projects.",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -32,20 +32,17 @@
32
32
  "node": ">=18"
33
33
  },
34
34
  "dependencies": {
35
- "@eslint/js": "^9.31.0",
36
- "@stylistic/eslint-plugin": "^5.2.0",
35
+ "@eslint/js": "^9.34.0",
36
+ "@stylistic/eslint-plugin": "^5.2.3",
37
37
  "eslint-plugin-import-x": "^4.16.1",
38
- "eslint-plugin-n": "^17.21.0",
39
- "eslint-plugin-pnpm": "^1.0.0",
38
+ "eslint-plugin-n": "^17.21.3",
40
39
  "globals": "^16.3.0",
41
- "jsonc-eslint-parser": "^2.4.0",
42
- "typescript-eslint": "^8.37.0",
43
- "vue-eslint-parser": "^10.2.0",
44
- "yaml-eslint-parser": "^1.3.0"
40
+ "typescript-eslint": "^8.40.0",
41
+ "vue-eslint-parser": "^10.2.0"
45
42
  },
46
43
  "devDependencies": {
47
44
  "@types/eslint": "^9.6.1",
48
- "eslint": "^9.31.0"
45
+ "eslint": "^9.34.0"
49
46
  },
50
47
  "scripts": {
51
48
  "test:types": "tsc",
package/src/index.js CHANGED
@@ -1,11 +1,8 @@
1
1
  import tseslint from 'typescript-eslint'
2
- import jsoncParser from 'jsonc-eslint-parser'
3
2
  import vueParser from 'vue-eslint-parser'
4
- import yamlParser from 'yaml-eslint-parser'
5
3
  import stylisticPlugin from '@stylistic/eslint-plugin'
6
4
  import importPlugin from 'eslint-plugin-import-x'
7
5
  import nodePlugin from 'eslint-plugin-n'
8
- import pnpmPlugin from 'eslint-plugin-pnpm'
9
6
  import globals from 'globals'
10
7
  import { javascriptRules } from './javascript.js'
11
8
  import { importRules } from './import.js'
@@ -50,7 +47,6 @@ export const tanstackConfig = [
50
47
  languageOptions: {
51
48
  sourceType: 'module',
52
49
  ecmaVersion: 2020,
53
- // @ts-expect-error
54
50
  parser: tseslint.parser,
55
51
  parserOptions: {
56
52
  project: true,
@@ -84,33 +80,4 @@ export const tanstackConfig = [
84
80
  plugins: jsPlugins,
85
81
  rules: jsRules,
86
82
  },
87
- {
88
- name: 'tanstack/package-json',
89
- files: ['package.json', '**/package.json'],
90
- languageOptions: {
91
- parser: jsoncParser,
92
- },
93
- plugins: {
94
- pnpm: pnpmPlugin,
95
- },
96
- rules: {
97
- 'pnpm/json-enforce-catalog': 'error',
98
- 'pnpm/json-valid-catalog': 'error',
99
- 'pnpm/json-prefer-workspace-settings': 'error',
100
- },
101
- },
102
- {
103
- name: 'tanstack/pnpm-workspace',
104
- files: ['pnpm-workspace.yaml'],
105
- languageOptions: {
106
- parser: yamlParser,
107
- },
108
- plugins: {
109
- pnpm: pnpmPlugin,
110
- },
111
- rules: {
112
- 'pnpm/yaml-no-unused-catalog-item': 'error',
113
- 'pnpm/yaml-no-duplicate-catalog-item': 'error',
114
- },
115
- },
116
83
  ]