0.3.0 • Published 2 years ago

eslint-config-woda v0.3.0

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

eslint-config-woda

These are our settings for ESlint that we use at woda

Installation

  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-woda
  1. You can see that all the necessary devDependencies were added to your package.json file

If you're using yarn and the dependencies aren't showing up in your package.json file, try

npx install-peerdeps --dev eslint-config-woda -Y
  1. Create an .eslintrc.js config file in the root of your project's directory (same folder as your package.json file)
touch .eslintrc.js
  1. The file should look like this
module.exports = {
    extends: 'eslint-config-woda',
};

and for TypeScript like this

module.exports = {
    extends: ['eslint-config-woda/typescript'],
    parserOptions: {
        project: './tsconfig.json',
    },
};

Docs

License

1.0.0-5

2 years ago

1.0.0-4

2 years ago

1.0.0-1

2 years ago

1.0.0-0

2 years ago

1.0.0-3

2 years ago

1.0.0-2

2 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago