Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Latest commit

 

History

History

eslint-config-change-fe

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

eslint-config-change-fe

This package provides Change.org's front-end eslint configuration. It extends eslint-config-airbnb and eslint-config-change-base.

It requires these modules as peer dependencies:

  • eslint
  • eslint-import-resolver-node
  • eslint-plugin-import
  • eslint-plugin-jest
  • eslint-plugin-jsx-a11y
  • eslint-plugin-lodash
  • eslint-plugin-promise
  • eslint-plugin-react
  • eslint-plugin-security

See the currently required versions by running this:

	npm info eslint-config-change-fe@latest peerDependencies

To use, just include this module as a devDependency, and then add

  "extends": "change-fe"

to your eslintrc.

If using mocha or jest, you'll want to do something like this:

  "extends": ["change-fe", "change-base/jest"]