|
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' |
@@ -83,33 +80,4 @@ export const tanstackConfig = [ |
83 | 80 | plugins: jsPlugins, |
84 | 81 | rules: jsRules, |
85 | 82 | }, |
86 | | - { |
87 | | - name: 'tanstack/package-json', |
88 | | - files: ['package.json', '**/package.json'], |
89 | | - languageOptions: { |
90 | | - parser: jsoncParser, |
91 | | - }, |
92 | | - plugins: { |
93 | | - pnpm: pnpmPlugin, |
94 | | - }, |
95 | | - rules: { |
96 | | - 'pnpm/json-enforce-catalog': 'error', |
97 | | - 'pnpm/json-valid-catalog': 'error', |
98 | | - 'pnpm/json-prefer-workspace-settings': 'error', |
99 | | - }, |
100 | | - }, |
101 | | - { |
102 | | - name: 'tanstack/pnpm-workspace', |
103 | | - files: ['pnpm-workspace.yaml'], |
104 | | - languageOptions: { |
105 | | - parser: yamlParser, |
106 | | - }, |
107 | | - plugins: { |
108 | | - pnpm: pnpmPlugin, |
109 | | - }, |
110 | | - rules: { |
111 | | - 'pnpm/yaml-no-unused-catalog-item': 'error', |
112 | | - 'pnpm/yaml-no-duplicate-catalog-item': 'error', |
113 | | - }, |
114 | | - }, |
115 | 83 | ] |
0 commit comments