Skip to content

Commit

Permalink
refactoring to packages
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Nov 18, 2023
1 parent 8192ba1 commit 827c0a3
Show file tree
Hide file tree
Showing 40 changed files with 967 additions and 365 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'plugin:react-hooks/recommended',
'prettier',
],
ignorePatterns: ['dist', '.eslintrc.cjs', 'demo/vite.config.ts'],
// ignorePatterns: ['dist', 'node_modules', 'demo/vite.config.ts', '**/public'],
parser: '@typescript-eslint/parser',
plugins: ['react', '@typescript-eslint', 'react-refresh', 'simple-import-sort'],
rules: {
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ __pycache__/
/.logfire/
/frontend-dist/
/scratch/
/packages-dist/
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ repos:
entry: make typecheck
language: system
pass_filenames: false
- id: react-prettier
name: react-prettier
- id: js-prettier
name: js-prettier
types_or: [javascript, jsx, ts, tsx, css, json, markdown]
entry: npm run prettier
language: system
- id: react-lint
name: react-lint
- id: js-lint
name: js-lint
types_or: [ts, tsx]
entry: npm run lint-fix
language: system
pass_filenames: false
- id: react-typecheck
name: react-typecheck
- id: js-typecheck
name: js-typecheck
types_or: [ts, tsx]
entry: npm run typecheck
language: system
Expand Down
28 changes: 0 additions & 28 deletions demo/tsconfig.json

This file was deleted.

Loading

0 comments on commit 827c0a3

Please sign in to comment.