Package Exports
- eslint-config-doshii
- eslint-config-doshii/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-doshii) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Doshii - ESLint Shareable Config
An ESLint Shareable Config for JavaScript Standard Style
This module is an extension and customization of eslint-config-airbnb by AirBnB.
We want to provide a consistent coding standard across Doshii projects, this library extends the standard styling to conform with Doshii's opinion of best practice.
The initial differences are small, such as requiring semi-colons and spacing, but will be increased over time as we tighten the style.
Install
yarn add eslint-config-doshii
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc
files.
You can learn more about
Shareable Configs on the
official ESLint website.
To use the JavaScript Standard Style shareable config, first run this:
yarn add -D eslint-config-doshii
Then, add this to your .eslintrc file:
{
"extends": ["doshii"]
}
Note: We omitted the eslint-config-
prefix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your
.eslintrc
file.
License
MIT. Copyright (c) Doshii Connect Pty Ltd.