Skip to content

Commit

Permalink
moved to vite, fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Aug 6, 2023
1 parent 931ab22 commit 69d233f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
root: true,
env: { browser: true, es2020: true, node: true },
env: { browser: true, es2020: true, node: true, jest: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export default {
'^@css/(.*)': '<rootDir>/src/css/$1',
'^@common/(.*)': '<rootDir>/src/common/$1',
'^@features/(.*)': '<rootDir>/src/features/$1',
'^@hooks/(.*)': '<rootDir>/src/hooks/$1',
'^@hooks/(.*)': '<rootDir>/src/hooks/$1'
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "pnpify run prettier --check src postcss.config.js && eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"format": "pnpify run prettier --write src postcss.config.js",
"lint": "pnpify run prettier --check src postcss.config.js jest.config.js && eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"format": "pnpify run prettier --write src postcss.config.js jest.config.js",
"test": "node --experimental-vm-modules $(yarn bin jest) -c jest.config.js"
},
"dependencies": {
Expand Down

0 comments on commit 69d233f

Please sign in to comment.