Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

CircleCI npm version License

ESLint Config Palantir

Linter configuration for ESLint.

Maintenance Notice (July 2019)

⚠️ This package will be revived in 2019 becasue of the upcoming migration from TSLint → ESLint. Keep an eye out for v2.0.

Deprecation Notice (April 2017)

⚠️ Important: this package is deprecated and unmaintained. We now use TSLint to lint JS files to keep our builds & configuration simple. Consider migrating to the tslint:recommended configuration preset in the tslint package.

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.yml"

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.

You can’t perform that action at this time.