ESLint抱怨拆包

时间:2019-10-28 12:57:19

标签: node.js eslint package.json

我使用样板并删除了我不需要的内容以快速启动一个小的开发环境,但是我从ESLint收到一个错误,我不知道它来自何处!

这是我的错误:

  

[错误-上午9:28:40]无法加载插件react-hooks:找不到模块'eslint-plugin-react-hooks'引用自:C:... \ wo \ package.json

但是没有esling-plugin-react-hooks ...这是从哪里来的...?️♂

{
"name": "web-objects",
"version": "1.0.0",
"description": "",
"author": "Jonathan Lafleur",
"license": "MIT",
"main": "gulpfile.js",
"dependencies": {
    "bootstrap": "^4.3.1"
},
"devDependencies": {
    "@babel/core": "^7.6.2",
    "@babel/preset-env": "^7.6.2",
    "babel-eslint": "^9.0.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-register": "^6.26.0",
    "babelify": "^10.0.0",
    "browser-sync": "^2.26.7",
    "del": "^2.0.2",
    "eslint": "^5.14.1",
    "eslint-config-airbnb": "^17.1.0",
    "eslint-config-prettier": "^4.1.0",
    "eslint-config-wesbos": "0.0.19",
    "eslint-plugin-html": "^5.0.3",
    "eslint-plugin-import": "^2.16.0",
    "eslint-plugin-jsx-a11y": "^6.2.1",
    "eslint-plugin-prettier": "^3.0.1",
    "gulp": "^3.9.1",
    "gulp-autoprefixer": "^7.0.0",
    "gulp-babel": "^8.0.0",
    "gulp-csso": "^2.0.0",
    "gulp-htmlmin": "^3.0.0",
    "gulp-imagemin": "^6.1.0",
    "gulp-notify": "^3.2.0",
    "gulp-plumber": "^1.2.1",
    "gulp-rename": "^1.4.0",
    "gulp-sass": "^4.0.2",
    "gulp-sourcemaps": "^2.6.5",
    "gulp-uglify": "^2.0.0",
    "gulp-util": "^3.0.8",
    "imagemin-mozjpeg": "^8.0.0",
    "install-peerdeps": "^1.10.2",
    "prettier": "^1.16.4",
    "run-sequence": "^2.2.1"
},
"eslintConfig": {
    "env": {
        "es6": true
    },
    "extends": [
        "wesbos"
    ]
},
"browserslist": [
    "last 5 version",
    "> 2%",
    "IE 10"
],
"scripts": {
    "start": "gulp dev",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "build": "gulp build",
    "sync": "npm run build && aws s3 sync ./dist/ s3://sia-webobjects --delete"
}
}

0 个答案:

没有答案