JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q55900F
  • License MIT

Simple tools and ESLint, Prettier configuration for React, Next.js development

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

    License MIT

    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-pack

    Usage

    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.