eslint-config-jonnybuchanan

6.0.0 • Public • Published

Travis npm package

A personal ESLint config, but with ESLint itself and all the necessary shareable config, plugins and parser as dependencies.

Provides an eslint command which runs the real ESLint with this config's .eslintrc in the context of this module's dependencies, so it will be able to find the plugins and parser it depends on without having to manage these dependencies individually in every project.

Installing an eslint command means tools which look for node_modules/.bin/eslint will find and run what is effectively a preconfigured version.

Sublime Text with SublimeLinter-eslint will successfully lint with this config just by having it installed in a project.

Visual Studio Code requires configuration to find ESLint and config:

{
  "eslint.options": {
    "configFile": "node_modules/eslint-config-jonnybuchanan/.eslintrc"
  },
  "eslint.nodePath": "node_modules/eslint-config-jonnybuchanan/node_modules",
}

MIT Licensed

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-jonnybuchanan

Weekly Downloads

16

Version

6.0.0

License

MIT

Unpacked Size

4.88 kB

Total Files

5

Last publish

Collaborators

  • insin