chore: Centralise ESLint rules (#2162)
* chore: centrilize eslint rules
This commit is contained in:
+9
-9
@@ -18,17 +18,17 @@
|
||||
"@babel/register": "^7.11.5",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@redocly/cli": "latest",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
||||
"@typescript-eslint/parser": "^5.36.2",
|
||||
"axios": "^0.21.1",
|
||||
"axios-mock-adapter": "^1.19.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-preset-medusa-package": "^1.0.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"eslint": "^8.2.0",
|
||||
"eslint": "^8.23.0",
|
||||
"eslint-config-google": "^0.14.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"express": "^4.17.1",
|
||||
"get-port": "^5.1.1",
|
||||
"husky": "^7.0.2",
|
||||
@@ -37,7 +37,7 @@
|
||||
"lint-staged": "^11.2.3",
|
||||
"microbundle": "^0.13.3",
|
||||
"pg-god": "^1.0.11",
|
||||
"prettier": "^2.1.1",
|
||||
"prettier": "^2.7.1",
|
||||
"resolve-cwd": "^3.0.0",
|
||||
"ts-jest": "^26.5.6",
|
||||
"turbo": "^1.3.1",
|
||||
@@ -50,17 +50,17 @@
|
||||
"typeorm": "^0.2.31"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,ts,tsx}": "eslint --ext .js,.jsx,.ts,.tsx --fix",
|
||||
"*.{js,jsx,ts,tsx}": "yarn run lint",
|
||||
"*.{md,yaml,yml}": "prettier --write"
|
||||
},
|
||||
"scripts": {
|
||||
"hooks:install": "husky install",
|
||||
"hooks:uninstall": "husky uninstall",
|
||||
"build": "turbo run build",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts,.tsx .",
|
||||
"prettier": "prettier",
|
||||
"jest": "jest",
|
||||
"test": "turbo run test",
|
||||
"prettier": "prettier",
|
||||
"test:integration": "NODE_ENV=test jest --runInBand --bail --config=integration-tests/jest.config.js",
|
||||
"test:integration:api": "NODE_ENV=test jest --runInBand --bail --config=integration-tests/jest.config.js --projects=integration-tests/api",
|
||||
"test:integration:plugins": "NODE_ENV=test jest --runInBand --bail --config=integration-tests/jest.config.js --projects=integration-tests/plugins",
|
||||
|
||||
Reference in New Issue
Block a user