Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-palantir

palantir38Apache-2.01.0.0

Palantir's ESLint configuration

config, eslint, javascript, lint, palantir, styleguide

readme

CircleCI npm version License

ESLint Config Palantir

Linter configuration for ESLint.

Usage

Install

npm install --save-dev eslint-config-palantir

Lint JavaScript

ESLint is the preferred JS linter. Configure your .eslintrc file to extend the one in this package:

extends: "./node_modules/eslint-config-palantir/.eslintrc"

rules:
  # Add overrides and additional rules here
  no-console:
    - 1

The path to your node_modules directory may vary.

See the ESLint docs for details about the extends property.