Giter VIP home page Giter VIP logo

eslint-config's People

Contributors

dependabot[bot] avatar fatso83 avatar mantoni avatar mroderick avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mroderick fatso83

eslint-config's Issues

Missing devDependency makes it fail

Noticed this when trying out sinonjs/sinon#262 manually. It failed when I tried to run the precommit step, due to not having the prettier eslint plugin.

This implicit dependency was introduced in 849e706:

+const prettier = {
+    "prettier/prettier": "error"
+};
+
 module.exports = {
+    "extends": ["plugin:prettier/recommended"],
     "env": {
         "browser": true,
         "node": true,
@@ -298,6 +302,7 @@ module.exports = {
         "ecmaVersion": 5,
         "ecmaFeatures": {},
     },
+    "plugins": ["prettier"],

The full error in lolex is

> eslint .


Oops! Something went wrong! :(

ESLint: 6.5.1.

ESLint couldn't find the plugin "eslint-plugin-prettier".

(The package "eslint-plugin-prettier" was not found when loaded as a Node module from the directory "/Users/carlerik/dev/lolex".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install eslint-plugin-prettier@latest --save-dev

The plugin "eslint-plugin-prettier" was referenced from the config file in "package.json » eslint-config-sinon".

If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.