Skip to content

Commit

Permalink
refactor: antd5 & vite (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxiabuluo authored Jun 2, 2023
1 parent aff7527 commit ebf35ca
Show file tree
Hide file tree
Showing 151 changed files with 8,782 additions and 22,833 deletions.
35 changes: 0 additions & 35 deletions .babelrc

This file was deleted.

16 changes: 16 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'prettier'
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
'@typescript-eslint/consistent-type-definitions': 'warn',
},
}
299 changes: 0 additions & 299 deletions .eslintrc.js

This file was deleted.

4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
1 change: 0 additions & 1 deletion app/AuthorizedRoute.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { Redirect, Route } from 'react-router-dom';
import { observer } from 'mobx-react-lite';

Expand Down
Loading

0 comments on commit ebf35ca

Please sign in to comment.