typhonjs-config-eslint

Provides shared ESLint configs for TyphonJS repos.


Keywords
eslint, typhonjs, shared, config
License
MIT
Install
npm install typhonjs-config-eslint@0.6.0

Documentation

typhonjs-config-eslint

NPM Gitter

Provides shared ESLint configuration files for TyphonJS.

To install:

npm install --save-dev typhonjs-config-eslint or add to package.json.

To use:

Create a minimal .eslintrc file in the root path of a project.

/**
 * Loads https://github.com/typhonjs-node-config/typhonjs-config-eslint/blob/master/3.0/babel/es8/server/node/.eslintrc
 * NPM: https://www.npmjs.com/package/typhonjs-config-eslint
 */
{
   "extends": "./node_modules/typhonjs-config-eslint/3.0/babel/es8/server/node/.eslintrc"
}

The latest revision of this module includes basic and Babel based configs for ES6, ES7, & ES8. It should be noted that this module just contains ESLint config files and not any required dependencies such as babel or eslint-plugin-babel. TyphonJS repos include as a dev dependency, typhonjs-npm-build-test, which does include all dependencies for a complete dev toolchain.