mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
refactor: update dependencies
This commit is contained in:
469
package-lock.json
generated
469
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -28,11 +28,11 @@
|
||||
"deepmerge": "4.2.2",
|
||||
"flatted": "3.2.5",
|
||||
"got": "11.8.5",
|
||||
"typedoc": "0.23.1",
|
||||
"typescript": "3.9.10"
|
||||
"typedoc": "0.18.0",
|
||||
"typescript": "3.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openstapps/configuration": "0.31.0",
|
||||
"@openstapps/configuration": "0.32.0",
|
||||
"@testdeck/mocha": "0.2.0",
|
||||
"@types/chai": "4.3.1",
|
||||
"@types/mocha": "9.1.1",
|
||||
@@ -45,6 +45,7 @@
|
||||
"prepend-file-cli": "1.0.6",
|
||||
"rimraf": "3.0.2",
|
||||
"ts-node": "10.8.1",
|
||||
"tslint": "6.1.3"
|
||||
"tslint": "6.1.3",
|
||||
"tslint-eslint-rules": "5.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,26 @@
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tsconfig.json"
|
||||
"compilerOptions": {
|
||||
"alwaysStrict": true,
|
||||
"charset": "utf8",
|
||||
"declaration": true,
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"inlineSourceMap": true,
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "node",
|
||||
"noErrorTruncation": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"outDir": "./lib/",
|
||||
"strict": true,
|
||||
"target": "es6"
|
||||
},
|
||||
"exclude": [
|
||||
"./lib/",
|
||||
"./test/"
|
||||
]
|
||||
}
|
||||
|
||||
142
tslint.json
142
tslint.json
@@ -1,3 +1,143 @@
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
||||
"defaultSeverity": "error",
|
||||
"extends": [
|
||||
"tslint:recommended",
|
||||
"tslint-eslint-rules"
|
||||
],
|
||||
"rules": {
|
||||
"array-type": [
|
||||
true,
|
||||
"array-simple"
|
||||
],
|
||||
"arrow-return-shorthand": true,
|
||||
"await-promise": true,
|
||||
"ban-comma-operator": true,
|
||||
"ban-ts-ignore": true,
|
||||
"completed-docs": true,
|
||||
"curly": true,
|
||||
"encoding": true,
|
||||
"file-header": true,
|
||||
"file-name-casing": [
|
||||
true,
|
||||
"kebab-case"
|
||||
],
|
||||
"forin": true,
|
||||
"indent": [
|
||||
true,
|
||||
"spaces",
|
||||
2
|
||||
],
|
||||
"interface-name": [
|
||||
true,
|
||||
"never-prefix"
|
||||
],
|
||||
"linebreak-style": [
|
||||
true,
|
||||
"LF"
|
||||
],
|
||||
"max-classes-per-file": false,
|
||||
"member-access": false,
|
||||
"member-ordering": [
|
||||
true,
|
||||
{
|
||||
"alphabetize": true,
|
||||
"order": [
|
||||
"private-static-field",
|
||||
"protected-static-field",
|
||||
"public-static-field",
|
||||
"private-instance-field",
|
||||
"protected-instance-field",
|
||||
"public-instance-field",
|
||||
"private-static-method",
|
||||
"protected-static-method",
|
||||
"public-static-method",
|
||||
"constructor",
|
||||
"private-instance-method",
|
||||
"protected-instance-method",
|
||||
"public-instance-method"
|
||||
]
|
||||
}
|
||||
],
|
||||
"newline-before-return": true,
|
||||
"newline-per-chained-call": true,
|
||||
"no-angle-bracket-type-assertion": true,
|
||||
"no-any": true,
|
||||
"no-boolean-literal-compare": true,
|
||||
"no-conditional-assignment": true,
|
||||
"no-construct": true,
|
||||
"no-default-export": true,
|
||||
"no-default-import": true,
|
||||
"no-duplicate-super": true,
|
||||
"no-floating-promises": true,
|
||||
"no-implicit-dependencies": true,
|
||||
"no-inferrable-types": true,
|
||||
"no-magic-numbers": true,
|
||||
"no-parameter-reassignment": true,
|
||||
"no-redundant-jsdoc": true,
|
||||
"no-reference": true,
|
||||
"no-return-await": true,
|
||||
"no-shadowed-variable": true,
|
||||
"no-sparse-arrays": true,
|
||||
"no-string-throw": true,
|
||||
"no-trailing-whitespace": [
|
||||
true,
|
||||
"ignore-comments",
|
||||
"ignore-jsdoc"
|
||||
],
|
||||
"object-curly-spacing": [
|
||||
true,
|
||||
"never"
|
||||
],
|
||||
"object-literal-key-quotes": false,
|
||||
"object-literal-shorthand": false,
|
||||
"one-variable-per-declaration": true,
|
||||
"ordered-imports": [
|
||||
true,
|
||||
{
|
||||
"import-sources-order": "case-insensitive",
|
||||
"named-imports-order": "case-insensitive"
|
||||
}
|
||||
],
|
||||
"prefer-const": true,
|
||||
"prefer-for-of": true,
|
||||
"prefer-function-over-method": true,
|
||||
"prefer-object-spread": true,
|
||||
"prefer-readonly": true,
|
||||
"prefer-template": true,
|
||||
"promise-function-async": true,
|
||||
"quotemark": [
|
||||
true,
|
||||
"single",
|
||||
"avoid-escape"
|
||||
],
|
||||
"semicolon": true,
|
||||
"static-this": true,
|
||||
"strict-boolean-expressions": true,
|
||||
"trailing-comma": [
|
||||
true,
|
||||
{
|
||||
"multiline": "always",
|
||||
"singleline": "never"
|
||||
}
|
||||
],
|
||||
"type-literal-delimiter": [
|
||||
true,
|
||||
{
|
||||
"singleLine": "always"
|
||||
}
|
||||
],
|
||||
"unnecessary-bind": true,
|
||||
"unnecessary-else": true,
|
||||
"variable-name": [
|
||||
true,
|
||||
"ban-keywords",
|
||||
"check-format",
|
||||
"allow-leading-underscore"
|
||||
]
|
||||
},
|
||||
"linterOptions": {
|
||||
"exclude": [
|
||||
"../../../test/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user