eslint-config-sharetribe
v0.4.0
Published
Sharetribe ESLint configuration
Downloads
6
Readme
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