Skip to content

Commit

Permalink
Merge pull request #1 from vscubing/tanstack-router
Browse files Browse the repository at this point in the history
file structure refactor, swr to react-query, react-router to tanstack-router, vite 5.0
  • Loading branch information
bohdancho authored Dec 28, 2023
2 parents 9a1705f + 8a988a1 commit efdd081
Show file tree
Hide file tree
Showing 98 changed files with 864 additions and 4,401 deletions.
30 changes: 28 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,36 @@
const config = {
root: true,
env: { browser: true, es2020: true, node: true },
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked',
'plugin:react-hooks/recommended',
'plugin:@tanstack/eslint-plugin-query/recommended',
],
ignorePatterns: ['dist', 'node_modules', '!.*.*'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
parserOptions: { project: true },
plugins: ['react-refresh', '@typescript-eslint'],
rules: {
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/consistent-type-imports': [
'warn',
{
prefer: 'type-imports',
fixStyle: 'inline-type-imports',
},
],
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-misused-promises': [
2,
{
checksVoidReturn: { attributes: false },
},
],
},
}

module.exports = config
Binary file modified bun.lockb
Binary file not shown.
Loading

0 comments on commit efdd081

Please sign in to comment.