eslint-config-mmcoding

1.1.1 • Public • Published

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!! 😊

Package Sidebar

Install

npm i eslint-config-mmcoding

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

3.57 kB

Total Files

4

Last publish

Collaborators

  • mmcoding