feat: add tslint and tsconfig

This commit is contained in:
Karl-Philipp Wulfert
2018-11-28 16:39:31 +01:00
commit e2bb08d1e8
8 changed files with 2105 additions and 0 deletions

31
README.md Normal file
View 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.