Skip to content

insin/eslint-config-jonnybuchanan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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