Przeglądaj źródła

Try to fix Snap: Removed linting packages.

Thanks to xet7 !
Lauri Ojansivu 4 lat temu
rodzic
commit
8911fe5c8d
2 zmienionych plików z 3407 dodań i 8028 usunięć
  1. 3405 7988
      package-lock.json
  2. 2 40
      package.json

Plik diff jest za duży
+ 3405 - 7988
package-lock.json


+ 2 - 40
package.json

@@ -3,33 +3,6 @@
   "version": "v5.28.0",
   "description": "Open-Source kanban",
   "private": true,
-  "scripts": {
-    "lint": "eslint --cache --ext .js --ignore-path .eslintignore .",
-    "lint:eslint:fix": "eslint --ext .js --ignore-path .eslintignore --fix .",
-    "lint:staged": "lint-staged",
-    "prettify": "prettier --write '**/*.js' '**/*.jsx'",
-    "test": "npm run lint"
-  },
-  "lint-staged": {
-    "*.js": [
-      "meteor npm run prettify",
-      "meteor npm run lint:eslint:fix",
-      "git add --force"
-    ],
-    "*.jsx": [
-      "meteor npm run prettify",
-      "meteor npm run lint:eslint:fix",
-      "git add --force"
-    ],
-    "*.json": [
-      "prettier --write",
-      "git add --force"
-    ]
-  },
-  "pre-commit": "lint:staged",
-  "eslintConfig": {
-    "extends": "@meteorjs/eslint-config-meteor"
-  },
   "repository": {
     "type": "git",
     "url": "git+https://github.com/wekan/wekan.git"
@@ -40,19 +13,7 @@
   },
   "homepage": "https://wekan.github.io",
   "devDependencies": {
-    "babel-eslint": "^10.1.0",
-    "eslint": "^3.19.0",
-    "eslint-config-meteor": "0.0.9",
-    "eslint-config-prettier": "^3.6.0",
-    "eslint-import-resolver-meteor": "^0.4.0",
-    "eslint-plugin-import": "^2.2.0",
-    "eslint-plugin-meteor": "^5.1.0",
-    "eslint-plugin-prettier": "^3.4.0",
-    "flatted": "^3.1.1",
-    "lint-staged": "^7.3.0",
-    "pre-commit": "^1.2.2",
-    "prettier": "^1.19.1",
-    "prettier-eslint": "^9.0.2"
+    "flatted": "^3.1.1"
   },
   "dependencies": {
     "@babel/core": "^7.14.0",
@@ -63,6 +24,7 @@
     "bcryptjs": "^2.4.3",
     "bson": "^4.3.0",
     "bunyan": "^1.8.15",
+    "core-js": "^2.6.12",
     "dompurify": "^2.2.8",
     "es6-promise": "^4.2.4",
     "exceljs": "^4.2.1",

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików