2.1.0 • Published 7 months ago

@agaroot/eslint-config-jest-react v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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

$ npm install -D @agaroot/eslint-config-jest-react

# Needs install peer dependencies
$ npm install -D eslint-plugin-jest-dom eslint-plugin-testing-library

👏 Getting Started

Create a .eslintrc.js file in the root directory of your project, and add @agaroot/eslint-config-jest-react to the extends array.

The following is the recommended configuration when using TypeScript.

/** @type {import('eslint').Linter.Config} */
module.exports = {
  root: true,
  extends: [
    '@agaroot/eslint-config-common',
    '@agaroot/eslint-config-jest',
    '@agaroot/eslint-config-jest-react',
  ],
  parserOptions: {
    project: './tsconfig.json',
  },
  settings: {
    'import/resolver': {
      typescript: {
        project: './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.

2.1.0

7 months ago

2.0.0

7 months ago

1.0.0

7 months ago