在Atom编辑器中安装Eslint时收到警告

时间:2019-06-26 06:36:57

标签: node.js react-native atom-editor eslint

我正在将Atom编辑器用于React本机。我正在尝试安装eslint。但是在运行npm install commannd时收到了一些警告。

首先,我在Atom中同时安装了linter-eslint和eslint软件包。

我创建了一个文件.eslintrc并将其放在下面的代码段中 {   “扩展”:“ eslint-config-google” }

我从项目的根目录级别运行了npm install --save-dev eslint-config-rallycoding命令。但是受到警告后,埃斯林特(Eslint)不能正常工作。

npm WARN deprecated eslint-plugin-class-property@1.1.0: please use eslint-plugin-babel and babel/semi
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN rollback Rolling back node-pre-gyp@0.12.0 failed (this is probably harmless): EPERM: operation not permitted, lstat 'D:\ReactNative\albums\node_modules\fsevents\node_modules'
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-jsx-a11y@2.2.3 requires a peer of eslint@^2.10.2 || 3.x but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-import@1.16.0 requires a peer of eslint@2.x - 3.x but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-react@6.10.3 requires a peer of eslint@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

我还试图卸载软件包并重新安装它们,但是它不起作用。

0 个答案:

没有答案
相关问题