semistandard: Definition for rule 'react/jsx-no-duplicate-props' was not found - error on lint

  semistandard: Semicolons For All! (https://github.com/Flet/semistandard) 
  /azk/start-hapiness/Azkfile.js:6:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/controllers/todo.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/index.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/lib/database.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/lib/loader.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/lib/server.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/models/todo.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/routes/todo.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/test/routes/todo.spec.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
  /azk/start-hapiness/validators/todo.js:1:1: Definition for rule 'react/jsx-no-duplicate-props' was not found
npm ERR! Test failed.  See above for more details.

I got this error when I running my linter. Someone can help me to fix this?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (2 by maintainers)

Commits related to this issue

Most upvoted comments

+1 I ran into this issue as well and it is rather annoying that your linter wrongly tells you something is wrong when it isn’t - I am not doing React yet get Definition for rule 'react/jsx-no-duplicate-props' was not found

Same issue. I’m using linter-js-standard plugin of Atom.

node@4.2.2 npm@2.14.7 linter-js-standard@3.2.1 + semistandard@7.0.2

Updating to 7.0.3 fixes the issue! See https://github.com/Flet/semistandard/pull/37.