1.0.36 • Published 12 months ago

auto-configure-eslint-prettier-tsc v1.0.36

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

auto-configure-eslint-prettier-tsc

Automatic configuration for Eslint, Prettier, Typescript compiler (TSC) in any JavaScript/TypeScript project.

Requirements

Node.js 14 or higher

This package will install dependencies in recommended versions:

ESLint @8.57.0
prettier @2.8.0
typescript @5.4.5
@react-native/eslint-config @0.74.84
@tsconfig/react-native @3.0.5

Installation

npm install --save-dev auto-configure-eslint-prettier-tsc

or

yarn add --dev auto-configure-eslint-prettier-tsc

Running

npx configure-project

This command will add these files:

  1. .eslintrc.js
  2. .prettierrc.js
  3. tsconfig.json
  4. .prettierignore

If any of these files already exist in your repository, you will be asked for each file whether you want to overwrite it or skip the creation.

It is recommended to overwrite all files to ensure you have the proper configuration based on the Zeronest project.

Usage

Two scripts will be added to your package.json:

To run eslint check

yarn run lint

To run prettier format

yarn run format
1.0.36

12 months ago

1.0.35

12 months ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.33

1 year ago

1.0.11

1 year ago

1.0.32

1 year ago

1.0.10

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.34

1 year ago

1.0.12

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago