typhonjs-config-eslint

0.6.0 • Public • Published

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.

Package Sidebar

Install

npm i typhonjs-config-eslint

Weekly Downloads

5

Version

0.6.0

License

MIT

Unpacked Size

29.4 kB

Total Files

30

Last publish

Collaborators

  • typhonrt