3.0.9 • Published 10 months ago

@agaroot/eslint-config-jest-react v3.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@agaroot/eslint-config-jest-react

npm version npm download license Github

This is a ESLint config commonly inherited by AGAROOT products.

Use this setting to ensure consistent code writing and maintain high code quality.

🚀 Installation

# Install peer dependencies.
npm install -D eslint @agaroot/eslint-config-common @agaroot/eslint-config-definer @agaroot/eslint-config-javascript @agaroot/eslint-config-jest @agaroot/eslint-config-react

# Install this package.
npm install -D @agaroot/eslint-config-jest-react

# (Recommended) If you want to use the style guide, install the following package.
# However, this is not necessary if you are using Prettier.
npm install -D @agaroot/eslint-config-style

# (Optional) If you are using TypeScript, install the following package.
npm install -D @agaroot/eslint-config-typescript

# (Optional) If you are using Next.js, install the following package.
npm install -D @agaroot/eslint-config-next

👏 Getting Started

Create a eslint.config.js file in the root directory of your project.

import { common } from '@agaroot/eslint-config-common';
import { define } from '@agaroot/eslint-config-definer';
import { javascript } from '@agaroot/eslint-config-javascript';
import { jest } from '@agaroot/eslint-config-jest';
import { jestReact } from '@agaroot/eslint-config-jest-react';
import { react } from '@agaroot/eslint-config-jest-react';
import { next } from '@agaroot/eslint-config-jest-next';
import { typescript } from '@agaroot/eslint-config-typescript';

const config = define([
  common,
  javascript,
  jest,
  jestReact,
  react,
  // If you are using TypeScript, add the following line.
  typescript,
  // If you are using Next.js, add the following line.
  next,
]);

export default config({
  // If you are using TypeScript, add the following line.
  tsconfigPath: './tsconfig.json',
});

🤝 Contributing

Contributions, issues and feature requests are welcome.

Feel free to check issues page if you want to contribute.

📝 License

Copyright © 2023 AGAROOT TECHNOLOGIES.

This project is MIT licensed.

3.0.4

11 months ago

3.0.3

11 months ago

3.0.2

11 months ago

3.0.1

11 months ago

3.0.8

10 months ago

3.0.7

10 months ago

3.0.6

10 months ago

3.0.5

10 months ago

3.0.0

11 months ago

3.0.0-next.0

11 months ago

3.0.9

10 months ago

2.1.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago