ESLint typescript configuration for CS3 Marketing
To install eslint-config-cs3marketing-typescript
in your project, you will need to run the
following command using npm:
npm install eslint-config-cs3marketing eslint-config-cs3marketing-typescript
If you prefer Yarn, use the following command instead:
yarn add eslint-config-cs3marketing eslint-config-cs3marketing-typescript
You can use eslint-config-cs3marketing-typescript
in your project by extending it in your
eslint
configuration. For example, if we had an .eslintrc
file:
{
"extends": ["cs3marketing", "cs3marketing-typescript"]
}
The default configuration available under eslint-config-cs3marketing-typescript
includes all
ESLint configuration and plugins, including plugins for React.js development. If
you'd like to not include these rules in your setup, you can also include a
base
oriented configuration by doing the following:
{
"extends": ["cs3marketing/base", "cs3marketing-typescript/base"]
}
Licensed under the MIT License.