mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-06 05:22:52 +00:00
feat: add tslint and tsconfig
This commit is contained in:
31
README.md
Normal file
31
README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# StApps configuration
|
||||
|
||||
A collection of configuration base files for StApps projects.
|
||||
|
||||
```shell
|
||||
npm install --save-dev @openstapps/configuration
|
||||
```
|
||||
|
||||
## `tsconfig.json`
|
||||
|
||||
Create a `tsconfig.json` with the following content:
|
||||
|
||||
```json
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tsconfig.json"
|
||||
}
|
||||
```
|
||||
|
||||
[Extend/adjust the configuration](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) only exceptionally.
|
||||
|
||||
## `tslint.json`
|
||||
|
||||
Create a `tslint.json` with the following content:
|
||||
|
||||
```json
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
||||
}
|
||||
```
|
||||
|
||||
[Extend/adjust the configuration](https://palantir.github.io/tslint/usage/configuration/)) only exceptionally.
|
||||
Reference in New Issue
Block a user