1.4.0 • Published 2 years ago

@web-at-berkeley/eslint-config v1.4.0

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

eslint-config-web-at-berkeley

ESLint configuration for Web @ Berkeley

Submodule within mono

How to Use

Start by installing eslint and this package:

yarn add -D eslint @web-at-berkeley/eslint-config

Now, create a eslint config file:

touch .eslintrc.js

Put the following code in this config file:

{
    "extends": "@web-at-berkeley/eslint-config"
}

In your project's root directory, run the following

yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier eslint-plugin-react prettier typescript

You should now be setup properly to use the WDB shared ESLint config! Make sure you install your IDE specific ESLint plugin, like this one for VSCode

If using yarn PnP, make sure you run yarn sdks <your editor>!

1.4.0

2 years ago

1.3.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.0

3 years ago