Skip to content

ramiinberg/shrimberg-eslint

Repository files navigation

Eslint and prettier config

These are settings for ESLint and Prettier used by me

Installing

  1. In your project folder, run:
  npm i -D eslint-config-shrimberg
  npx install-peerdeps --dev eslint-config-shrimberg
  • You will see several dependencies were installed.
  1. Install .eslint file
  • You can install and configure ESLint using this command:
  npm init @eslint/config
  • Or you could also make empty .eslintrc file
  1. Now, update a .eslintrc file with the following content:
{
  "extends": [
    "shrimberg"
  ]
}
  1. Copy the .prettierrc file from this repository into your project folder

  2. You need to have Prettier and Eslint extension installed on visual studio code.

This repository is inspired by leonardofaria.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published