1.0.0 • Published 2 years ago

@alvarezmauro/eslint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@alvarezmauro/eslint-config

This package will help you set up Prettier, ESLint, and TypeScript based on the project you choose from a list (JS, JS+TS, React, React+TS). It also helps you to install the necessary dependencies and configure your project and VScode workspace.

Note: The Prettier and ESLint configuration is very opinionated. I use Airbnb's linting rules as a base and I add my own rules on top of it.

Prerequisites

  • Node.js (^v18.15.0 recommended)

Installation

Install package and peerdependencies

npx install-peerdeps --dev @alvarezmauro/eslint-config

Execute setup script

node ./node_modules/@alvarezmauro/eslint-config/scripts/setup.js

Usage

Once you execute the setup command you just need to follow the prompt. Installing @alvarezmauro/eslint-config + peerdependencies

Features

  • Installs required dependencies for ESLint, Prettier, and TypeScript
  • Adds a "lint" command to your package.json
  • Adds recommended VSCode plugins to your workspace settings
  • Adds recommended VSCode settings for ESLint and Prettier to your workspace
  • Handles existing configuration files by prompting the user to choose between creating a new file, overriding the existing file, or merging the recommended configuration with the existing one.

Contributing

If you encounter any issues, feel free to open a new issue. Pull requests are also welcome.

License

This project is licensed under the MIT License.

1.0.0

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago