Skip to content

Commit 434106e

Browse files
Turn off the linter.
1 parent fe2c64e commit 434106e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,29 @@ git add .
7070
git commit -m "Initial commit."
7171
```
7272

73+
> Note: if you've cloned this repository, you won't have to run the above at all.
74+
75+
# Overriding defaults
76+
77+
The TSLint configuration that react-scripts-ts sets us up with is a bit overzealous.
78+
Let's fix that up.
79+
80+
```diff
81+
{
82+
- "extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
83+
+ "extends": [],
84+
+ "defaultSeverity": "warning",
85+
"linterOptions": {
86+
"exclude": [
87+
"config/**/*.js",
88+
"node_modules/**/*.ts"
89+
]
90+
}
91+
}
92+
```
93+
94+
[Configuring TSLint](https://palantir.github.io/tslint/usage/configuration/) is out of the scope of this starter, but you should feel free to experiment with something that works for you.
95+
7396
# Running the project
7497

7598
Running the project is as simple as running

0 commit comments

Comments
 (0)