Skip to content

Commit

Permalink
refactor eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DukeManh authored and menghif committed Mar 20, 2022
1 parent 4031b07 commit cf7537d
Show file tree
Hide file tree
Showing 24 changed files with 223 additions and 309 deletions.
10 changes: 0 additions & 10 deletions .eslintignore

This file was deleted.

1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module.exports = {
env: {
node: true,
commonjs: true,
es2021: true,
jest: true,
},
},
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build": "pnpm turbo run build",
"dev": "pnpm dev --prefix src/web --",
"develop": "pnpm dev",
"eslint": "TIMING=1 eslint --config .eslintrc.js \"./src/backend/**/*.js\" \"./test/**/*.js\"",
"eslint-fix": "eslint --config .eslintrc.js \"./src/backend/**/*.js\" \"./test/**/*.js\" --fix",
"eslint": "TIMING=1 eslint --config .eslintrc.js --ignore-path .gitignore \"./src/backend/**/*.js\" \"./test/**/*.js\"",
"eslint-fix": "eslint --config .eslintrc.js --ignore-path .gitignore \"./src/backend/**/*.js\" \"./test/**/*.js\" --fix",
"lint": "pnpm turbo run lint && pnpm eslint",
"clean": "pnpm turbo run clean && pnpm -r exec rm -rf node_modules",
"prettier": "prettier --write \"./**/*.{md,jsx,json,html,css,js,yml}\"",
Expand Down Expand Up @@ -97,8 +97,6 @@
"@babel/preset-typescript": "7.16.7",
"@senecacdot/eslint-config-telescope": "1.0.1",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@vercel/node": "1.13.0",
"babel-preset-next": "1.4.0",
"eslint": "7.32.0",
Expand Down
Loading

0 comments on commit cf7537d

Please sign in to comment.