Package Exports
- eslint-config-ipfs
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-ipfs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-config-ipfs
ESLint Shareable Config for IPFS project
Table of contents
Install
$ npm i eslint-config-ipfsThis package provides IPFS's .eslintrc as an extensible shared config.
Usage
Provided configuration contains ESLint rules followed by JS libraries in the JS
IPFS ecosystem. It provides slightly separate rule sets for .js and .ts
files. To use this configuration you'll need .eslintrc file in your project
root with a following content:
{
"extends": "ipfs"
}Or a key in your package.json with:
{
"eslintConfig": {
"extends": "ipfs"
}
}If you use AEgir this config will comes with it, so above .eslintrc is the
only thing you'll need. If you choose to use ESLint directly, you'll need to add
this package to your (dev) dependencies and satisfy "typescript" peer dependency
yourself.
License
Licensed under either of
- Apache 2.0, (LICENSE-APACHE / http://www.apache.org/licenses/LICENSE-2.0)
- MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
Contribute
Contributions welcome! Please check out the issues.
Also see our contributing document for more information on how we work, and about contributing in general.
Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
