Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit dd0d1c7

Browse files
trusktrUziTechskylize
authored
chore(readme): add info on linting other file types (#1188)
* Update README: info on linting other file types * chore: Update README.md Co-authored-by: Sky Higgins <[email protected]> * chore: fix line length Co-authored-by: Tony Brix <[email protected]> Co-authored-by: Sky Higgins <[email protected]>
1 parent 7869442 commit dd0d1c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ installed
2727
for you. If you are using an alternative `linter-*` consumer,
2828
the `linter` package can be disabled.
2929

30+
If you wish to lint files in JavaScript-derivative languages (like Typescript,
31+
Flow) with ESLint, you must add the scope name for that grammar to the
32+
`List of scopes to run ESLint on` option in `linter-eslint` Settings. For
33+
example, to lint TypeScript files, add `source.ts` to the list.
34+
3035
## Use with plugins
3136

3237
You have two options:

0 commit comments

Comments
 (0)