Package Exports
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 (@devtree/react-pack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@devtree/react-pack
This package includes the shareable ESLint configuration, Prettier configuration for React, Next.js TypeScript development.
Installation
- Using npm:
npm i @devtree/react-pack- or using yarn:
yarn add -D @devtree/react-packUsage
Basic usage
package.json
{
"eslintConfig": {
"extends": [
"@devtree/react-pack/eslint/base"
]
}
} - Or,
.eslintrc.json
{
"extends": "@devtree/react-pack/base"
}Basic usage for Next.js
.eslintrc.json
{
"extends": "@devtree/react-pack/next"
}Configuration Set
- @devtree/react-pack/base : for normal React projects.
- @devtree/react-pack/next : for Next.js projects.
License
eslint-config-react-pack is licensed under the MIT License.