JSPM

  • Created
  • Published
  • Downloads 109
  • Score
    100M100P100Q88450F
  • License MIT

Code quality front package for Groupe Actual projects

Package Exports

  • @groupeactual/code-quality-front/react-eslint
  • @groupeactual/code-quality-front/react-jest
  • @groupeactual/code-quality-front/react-jest-css-transformer
  • @groupeactual/code-quality-front/react-jest-image-transformer
  • @groupeactual/code-quality-front/react-jest-sequencer
  • @groupeactual/code-quality-front/react-native-jest
  • @groupeactual/code-quality-front/react-native-tsconfig
  • @groupeactual/code-quality-front/react-prettier
  • @groupeactual/code-quality-front/react-tsconfig

Readme

Groupe Actual

Code Quality Front

This project contains a collection of essential quality tools for front applications, including Prettier, TypeScript configuration, Jest, and ESLint.

Table of Contents

  1. Introduction
  2. Installation
  3. Usage
  4. Configuration
  5. Contributing
  6. License

Introduction

Code Quality Front Tools aims to help you maintain a high-quality codebase by providing a set of tools and configurations for code formatting, type checking, testing, and linting. The included tools are:

  • Prettier: An opinionated code formatter.
  • TypeScript: A superset of JavaScript that adds static types.
  • Jest: A delightful JavaScript testing framework.
  • ESLint: A pluggable JavaScript linter.

Installation in front project

To install the Code Quality Front Tools in your project, run the following command:

npm install @groupeactual/code-quality-front

Copy makefile rule and use :

make init-quality-react

or

make init-quality-react-native

Installation

To install the Code Quality Front Tools, run the following command:

make init
make install

Usage

After installation, you can use the following commands to run the tools:

Jest

Run tests:

make test

ESLint

Lint your code:

make eslint

Help

make help

Configuration

Each tool comes with its own configuration file:

  • Prettier: .prettierrc
  • TypeScript: tsconfig.json
  • Jest: jest.config.js
  • ESLint: .eslintrc

You can customize these configurations to fit your project's needs.

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

  1. Create a new branch with your changes
  2. Commit your changes and push them to your branch
  3. Create a pull request and add reviewers

License

©Tysoft S.A.S. - La Digital Factory