1.4.2 • Published 8 months ago

@paalan/react-config v1.4.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Paalan React UI Config

This package contains the configuration for the Paalan React UI.

Installation

npm install @paalan/react-config

Usage

Eslint Configuration

CJS:

  • Create .eslintrc.cjs in your root project and paste the following code.
const eslintConfig = require('@paalan/react-config/eslint');

module.exports = eslintConfig.default;

ESM:

  • Create .eslintrc.js in your root project and paste the following code.
import eslintConfig from '@paalan/react-config/eslint';

export default eslintConfig;

Eslint With Vite Configuration

CJS:

  • Create .eslintrc.cjs in your root project and paste the following code.
const eslintWithViteConfig = require('@paalan/react-config/eslint-with-vite');

module.exports = eslintWithViteConfig.default;

ESM:

  • Create .eslintrc.js in your root project and paste the following code.
import eslintWithViteConfig from '@paalan/react-config/eslint-with-vite';

export default eslintWithViteConfig;

Prettier Configuration

CJS:

  • Create prettier.config.cjs in your root project and paste the following code.
const prettierConfig = require('@paalan/react-config/prettier');

module.exports = prettierConfig.default;

ESM:

  • Create prettier.config.js in your root project and paste the following code.
import prettierConfig from '@paalan/react-config/prettier';

export default prettierConfig;

Tailwind Configuration

CJS:

  • Create tailwind.config.cjs in your root project and paste the following code.
const tailwindConfig = require('@paalan/react-config/tailwind');

module.exports = tailwindConfig.default;

ESM:

  • Create tailwind.config.js in your root project and paste the following code.
import tailwindConfig from '@paalan/react-config/tailwind';

export default tailwindConfig;
1.4.2

8 months ago

1.4.1

10 months ago

1.4.0

10 months ago

1.3.3

10 months ago

1.3.2

10 months ago

1.3.1

10 months ago

1.3.0

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago