fix(core): update
This commit is contained in:
parent
87454d41da
commit
e81c37e60a
@ -123,9 +123,9 @@ trigger:
|
|||||||
pages:
|
pages:
|
||||||
stage: metadata
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
- npmci node install lts
|
- npmci node install stable
|
||||||
- npmci command npm install -g @gitzone/tsdoc
|
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
|
- npmci command npm install -g @gitzone/tsdoc
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
- npmci command tsdoc
|
- npmci command tsdoc
|
||||||
tags:
|
tags:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as plugins from './smartpath.plugins.js'
|
import * as plugins from './smartpath.plugins.js';
|
||||||
export type TPathType = 'url' | 'local';
|
export type TPathType = 'url' | 'local';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -18,7 +18,7 @@ export const type = (pathStringArg: string): TPathType => {
|
|||||||
*/
|
*/
|
||||||
export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
|
export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
|
||||||
return plugins.path.dirname(plugins.url.fileURLToPath(importMetaUrlArg));
|
return plugins.path.dirname(plugins.url.fileURLToPath(importMetaUrlArg));
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns homedir as absolute path
|
* returns homedir as absolute path
|
||||||
|
17
tslint.json
Normal file
17
tslint.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"extends": ["tslint:latest", "tslint-config-prettier"],
|
||||||
|
"rules": {
|
||||||
|
"semicolon": [true, "always"],
|
||||||
|
"no-console": false,
|
||||||
|
"ordered-imports": false,
|
||||||
|
"object-literal-sort-keys": false,
|
||||||
|
"member-ordering": {
|
||||||
|
"options":{
|
||||||
|
"order": [
|
||||||
|
"static-method"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"defaultSeverity": "warning"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user