Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.76 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.76 KB

eslint-config-tree

This is a shared configuration for all Tree repositories. Contains overrides and enhancements on top of the base configuration located at https://github.com/fs-webdev/eslint-config-frontier.

Utilizes the following plugins:

alt text

Usage:

  1. Add either eslint-config-tree or eslint-config-frontier-react as a devDependency.

  2. Add this repository as a package devDependency:

    "eslint-config-tree": "github:fs-webdev/eslint-config-tree#semver:^1",

  3. In your eslintrc.js file, put the following:

module.exports = {
  extends: [
    'frontier',
    'tree'
  ],
  plugins: [
    'eslint-plugin-deprecate',
    'eslint-plugin-sonarjs'
  ]
}
  1. Add both tree and the frontier eslint configuration of your choice as Code Climate prepare resources (see: extended eslint docs).

  2. Enjoy.