Provides shared ESLint configs for TyphonJS repos.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
2.0
3.0
es5/server/node
es6
.gitignore
CHANGELOG.md
LICENSE
README.md
package.json

README.md

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.