Skip to content

Commit 427395f

Browse files
committed
Update instructions
1 parent 24b90f3 commit 427395f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,24 @@ React specific rules are added separately along with the base rules. You can sim
3232
}
3333
```
3434

35+
### Setup in a AWS CDK project
36+
37+
All typescript rules compatible with the AWS CDK structure have been added separately and can be integrated by using the following configuration
38+
39+
```json
40+
{
41+
"extends": ["eslint-config-lucideus", "eslint-config-lucideus/cdk"]
42+
}
43+
```
44+
3545
## Running the linter
3646

3747
Add the following to your `package.json` within the `scripts` section to have an easy to use command:
3848

3949
```json
4050
{
4151
"scripts": {
42-
"lint": "./node_modules/.bin/eslint -c .eslintrc.json --ext .ts --ext .js src"
52+
"lint": "./node_modules/.bin/eslint src"
4353
}
4454
}
4555
```

0 commit comments

Comments
 (0)