1.1.1 • Published 4 years ago

eslint-config-mmcoding v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

ESlint and Prettier setup

These are my settings for ESLint and Prettier

You might like them - or you might not. Don't worry you can always change them.

You can see all the rules here

Local / Per Project Install

  1. If you don't already have a package.json file, create one with npm init.

  2. Then we need to install everything needed by the config:

npx install-peerdeps --dev eslint-config-mmcoding
  1. You can see in your package.json there are now a big list of devDependencies.

  2. Create a .eslintrc file in the root of your project's directory (it should live where package.json does). Your .eslintrc file should look like this:

{
  "extends": ["mmcoding"]
}

Absolute paths

This ESlint is setted up to use absolute paths, so if you want to use you can check here how to do it! Your ESlint will not complain about!! 😊

1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago