Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

eslint.config.js

20 lines510 Bytes

1// @ts-check
2​
3import { tanstackConfig } from '@tanstack/eslint-config'
4import pluginQuery from '@tanstack/eslint-plugin-query'
5// @ts-ignore: no types for eslint-config-preact
6import preact from 'eslint-config-preact'
7import { defineConfig } from 'eslint/config'
8​
9export default defineConfig([
10 ...preact,
11 ...tanstackConfig,
12 ...pluginQuery.configs['flat/recommended-strict'],
13 {
14 rules: {
15 'no-duplicate-imports': 'off',
16 'no-redeclare': 'off',
17 'no-unused-vars': 'off',
18 },
19 },
20])