Skip to content

Commit

Permalink
Merge pull request #538 from pycontw/chore/env_windows
Browse files Browse the repository at this point in the history
chore(env): adjust scripts for json-server
  • Loading branch information
SivanYeh authored Jun 13, 2024
2 parents 14968b8 + c36c9cc commit edd8aa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ module.exports = {
],
plugins: ['prettier'],
// add your custom rules here
rules: {},
rules: {
'prettier/prettier': ['error', { endOfLine: 'auto' }],
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "npm run lint:js",
"test": "jest",
"prettier:lint": "prettier --ignore-path .gitignore --write '**/*.vue' ",
"json-server": "./node_modules/.bin/json-server --watch db.json --routes routes.json --port 9876 --middlewares json-server-middlewares.js"
"json-server": "json-server --watch db.json --routes routes.json --port 9876 --middlewares json-server-middlewares.js"
},
"dependencies": {
"@fortawesome/free-brands-svg-icons": "^5.15.3",
Expand Down

0 comments on commit edd8aa1

Please sign in to comment.