Skip to content

Commit 919fb05

Browse files
Add README
1 parent 1aac781 commit 919fb05

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Opencast Shared ESLint config (for TS + React)
2+
3+
ESLint configuration used by many Opencast-related frontend projects.
4+
This configuration contains rules for TypeScript and React, so it's only useful for projects using both of those.
5+
6+
## Usage
7+
8+
Run:
9+
10+
```
11+
npm install --save-dev @opencast/eslint-config-ts-react
12+
```
13+
14+
And add this to your ESLint config (e.g. `.eslintrc.js`):
15+
16+
```javascript
17+
{
18+
extends: ["@opencast/eslint-config-ts-react"],
19+
// ...
20+
}
21+
```
22+
23+
Also make sure you already have `eslint` and all other [`peerDependencies` of this configuration](./package.json) in your `package.json`.
24+
25+
26+
# License
27+
28+
Licensed as [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).

0 commit comments

Comments
 (0)