Получили предупреждения при установке Eslint в редакторе Atom - PullRequest
1 голос
/ 26 июня 2019

Я использую редактор Atom для React native.Я пытаюсь установить eslint.Но я получил некоторые предупреждения при запуске npm install commannd.

Во-первых, я установил пакеты linter-eslint и eslint в Atom.

Я создал файл .eslintrc и поместил ниже кусок кода {«Extends»: «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"})

Я также пытался удалить пакеты и переустановить их, но он не работает.

...