eslint-config-sharetribe

0.4.0 • Public • Published

Sharetribe ESLint configuration

This package provides Sharetribe's shared ESLint configuration. It extends the eslint-config-airbnb configuration by disabling many rules related to style and syntax and loosens some errors into warnings.

This enables using the configuration in a hot loading environment like an application created with create-react-app together with an automatic style and syntax formatter like Prettier.

Usage

https://www.npmjs.com/package/eslint-config-sharetribe

Install with npm:

npm install --save-dev eslint-config-sharetribe

or with yarn:

yarn add --dev eslint-config-sharetribe

Then install the required peerDependencies.

Next, create an ESLint configuration file and extend the sharetribe configuration:

.eslintrc:

{
  "extends": "sharetribe"
}

You can then override rules as you wish in this configuration file.

Changes

See CHANGELOG.md.

Author

Developed and maintained by Sharetribe.

Licence

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-sharetribe

Weekly Downloads

1

Version

0.4.0

License

MIT

Last publish

Collaborators

  • sharetribe