File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 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/ ) .
You can’t perform that action at this time.
0 commit comments