Closed kyleshevlin closed 7 years ago
In an effort to provide more detail, I have installed local to the project eslint-plugin-jsx-a11y. After doing so, it errored asking for the eslint-plugin-react package. I installed that next. I then ran npm run test
once more and received the following error:
Referenced from: airbnb
Referenced from: /Library/WebServer/Documents/Work/redux-pack/.eslintrc
Error: /Library/WebServer/Documents/Work/redux-pack/node_modules/eslint-config-airbnb/rules/react-a11y.js:
Configuration for rule "jsx-a11y/anchor-has-content" is invalid:
Value "" is the wrong type.
In addition, a fresh npm install
with this package.json returns a:
npm ERR! peer dep missing: eslint-plugin-jsx-a11y@^2.2.2, required by eslint-config-airbnb@12.0.0
Fixed! Sorry about that.
Forked the repo. Ran:
then:
Got an error that boils down to:
My guess is that you have it installed globally on your machine, as I didn't see it in the package.json. Thought this might be something you wanted to add as a devDependency.