Detalhes do pacote

typhonjs-config-eslint

Provides shared ESLint configs for TyphonJS repos.

eslint, typhonjs, shared, config

readme (leia-me)

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.

changelog (log de mudanças)

0.5.0 (2017-02-18)

  • Feat
    • Added ./3.0 rules for ESLint 3.x along with Babel parser & plugin support.

0.4.0 (2016-03-07)

  • Feat
    • Added ./2.0 rules for ESLint 2.x.

0.2.2 (2016-02-21)

  • Feat
    • Added es6/server/node .eslintrc for server side ES6 / Node linting.

0.2.1 (2015-12-01)

  • Added additional overrides to operator-linebreak.

0.2.0 (2015-11-06)

  • Feat

    • Added es5/server/node .eslintrc for server side ES5 / CJS Node linting.
  • Moved es6 .eslintrc to es6/browser

0.1.0

  • Initial release