Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Commit

Permalink
Don't install eslint globally
Browse files Browse the repository at this point in the history
Prefer to install inside node_modules of each project.

A [RFC] for eslint proposed simplifying the process of package loading.
This change was implemented in eslint 6.0.0 and [reduced the level of
support] for
installing plugins globally

A ["highly dangerous and ugly package"] was published as a workaround.

At the same time eslint addressed [another issue] about loading
packages.

After [this change] packages are loaded relative to where they are specified in
a configuration file.

One simple way for the configuration and the location of the
configuration files to match is to install from the same `package.json`.

[another issue]: eslint/eslint#10125
["highly dangerous and ugly package"]:
  https://github.com/wintercounter/eslint-global-patch
[rfc]: eslint/rfcs#7
[reduced the level of support]:
  https://eslint.org/docs/user-guide/migrating-to-6.0.0#plugins-and-shareable-configs-are-no-longer-affected-by-eslints
[this change]:
  eslint/eslint@25cc63d
  • Loading branch information
maxwell-k committed Jan 26, 2020
1 parent c40a435 commit 8bf92b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 921 deletions.
3 changes: 0 additions & 3 deletions packages/eslint/main.yaml

This file was deleted.

Loading

0 comments on commit 8bf92b5

Please sign in to comment.