Skip to content

Commit e6e74dd

Browse files
greenkeeper[bot]buehler
authored andcommitted
chore: Update @smartive/tslint-config to the latest version 🚀 (buehler#75)
1 parent 8cb3abd commit e6e74dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+107
-109
lines changed

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ language: node_js
33
stages:
44
- name: test
55
if: tag IS blank
6+
- name: build
7+
if: tag IS blank
68
- name: deploy
79
if: branch = master AND type != pull_request
810

11+
cache:
12+
directories:
13+
- node_modules
14+
915
matrix:
1016
fast_finish: true
1117

@@ -19,16 +25,10 @@ jobs:
1925
after_success:
2026
- npm i -g codecov
2127
- codecov
22-
- stage: test
23-
node_js: '9'
24-
after_success:
25-
- npm i -g codecov
26-
- codecov
27-
- stage: test
28-
node_js: '8'
29-
after_success:
30-
- npm i -g codecov
31-
- codecov
28+
- stage: build
29+
node_js: '10'
30+
script:
31+
- npm run build
3232
- stage: deploy
3333
node_js: '10'
3434
script: npm run typedoc

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
},
3636
"homepage": "https://github.com/TypeScript-Heroes/node-typescript-parser#readme",
3737
"devDependencies": {
38-
"@smartive/tslint-config": "^3.0.1",
39-
"@types/jest": "^23.1.2",
38+
"@smartive/tslint-config": "^4.0.0",
39+
"@types/jest": "^23.1.4",
4040
"@types/lodash-es": "^4.17.0",
4141
"@types/mock-fs": "^3.6.30",
42-
"@types/node": "^10.3.6",
42+
"@types/node": "^10.5.1",
4343
"del-cli": "^1.1.0",
44-
"jest": "^23.2.0",
44+
"jest": "^23.3.0",
4545
"mock-fs": "^4.5.0",
46-
"semantic-release": "^15.6.0",
46+
"semantic-release": "^15.6.3",
4747
"ts-jest": "^23.0.0",
4848
"tslint": "^5.10.0",
49-
"tsutils": "^2.27.1",
49+
"tsutils": "^2.27.2",
5050
"typedoc": "^0.11.1"
5151
},
5252
"dependencies": {

src/Node.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
22
* Base class for all nodes / declarations / imports / etc. in the extension.
33
* Contains basic information about the node.
4-
*
4+
*
55
* @export
66
* @interface Node
77
*/
88
export interface Node {
99
/**
1010
* The starting character of the node in the document.
11-
*
11+
*
1212
* @type {number}
1313
* @memberof Node
1414
*/
1515
start?: number;
1616

1717
/**
1818
* The ending character of the node in the document.
19-
*
19+
*
2020
* @type {number}
2121
* @memberof Node
2222
*/

src/SymbolSpecifier.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Clonable } from './clonable/Clonable';
33
/**
44
* Class for symbols that are contained in a named import or export or anywhere. Basically an aliased object.
55
* (i.e. import {SYMBOL} from '...').
6-
*
6+
*
77
* @export
88
* @class SymbolSpecifier
99
* @implements {Clonable}
@@ -13,9 +13,9 @@ export class SymbolSpecifier implements Clonable<SymbolSpecifier> {
1313

1414
/**
1515
* Clones the current resolve specifier and returns a new instance with the same properties.
16-
*
16+
*
1717
* @returns {SymbolSpecifier}
18-
*
18+
*
1919
* @memberof SymbolSpecifier
2020
*/
2121
public clone(): SymbolSpecifier {

src/TypescriptParser.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export class TypescriptParser {
141141
return file;
142142
}
143143

144-
145144
/**
146145
* Recursive function that runs through the AST of a source and parses the nodes.
147146
* Creates the class / function / etc declarations and instanciates a new module / namespace

src/clonable/Clonable.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/**
22
* Interface for clonable objects. The clone() method creates a deep clone of the object.
3-
*
3+
*
44
* @export
55
* @template T
66
* @interface Clonable
77
*/
88
export interface Clonable<T> {
99
/**
1010
* Create a deep clone of this object.
11-
*
11+
*
1212
* @returns {T}
13-
*
13+
*
1414
* @memberof Clonable
1515
*/
1616
clone(): T;

src/code-generators/typescript-generators/externalModuleImport.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { TypescriptGenerationOptions } from '../TypescriptGenerationOptions';
33

44
/**
55
* Generates typescript code for an external module import.
6-
*
6+
*
77
* @export
8-
* @param {ExternalModuleImport} imp
9-
* @param {TypescriptGenerationOptions} { stringQuoteStyle, eol }
10-
* @returns {string}
8+
* @param {ExternalModuleImport} imp
9+
* @param {TypescriptGenerationOptions} { stringQuoteStyle, eol }
10+
* @returns {string}
1111
*/
1212
export function generateExternalModuleImport(
1313
imp: ExternalModuleImport,

src/code-generators/typescript-generators/namespaceImport.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { TypescriptGenerationOptions } from '../TypescriptGenerationOptions';
33

44
/**
55
* Generates typescript code for a namespace import
6-
*
6+
*
77
* @export
8-
* @param {NamespaceImport} imp
9-
* @param {TypescriptGenerationOptions} { stringQuoteStyle, eol }
10-
* @returns {string}
8+
* @param {NamespaceImport} imp
9+
* @param {TypescriptGenerationOptions} { stringQuoteStyle, eol }
10+
* @returns {string}
1111
*/
1212
export function generateNamespaceImport(
1313
imp: NamespaceImport,

src/code-generators/typescript-generators/parameterDeclaration.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { ParameterDeclaration } from '../../declarations/ParameterDeclaration';
22

33
/**
44
* Generates typescript code for parameters.
5-
*
5+
*
66
* @export
7-
* @param {ParameterDeclaration} parameter
8-
* @returns {string}
7+
* @param {ParameterDeclaration} parameter
8+
* @returns {string}
99
*/
1010
export function generateParameterDeclaration(parameter: ParameterDeclaration): string {
1111
return `${parameter.name}${parameter.type ? `: ${parameter.type}` : ''}`;

src/code-generators/typescript-generators/propertyDeclaration.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { TypescriptGenerationOptions } from '../TypescriptGenerationOptions';
44

55
/**
66
* Generates typescript code for a class property.
7-
*
7+
*
88
* @export
9-
* @param {PropertyDeclaration} property
10-
* @param {TypescriptGenerationOptions} { tabSize }
11-
* @returns {string}
9+
* @param {PropertyDeclaration} property
10+
* @param {TypescriptGenerationOptions} { tabSize }
11+
* @returns {string}
1212
*/
1313
export function generatePropertyDeclaration(
1414
property: PropertyDeclaration,

0 commit comments

Comments
 (0)