-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(cli): add vscode config files #1336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| dist* | ||
| *.json |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "bracketSpacing": false, | ||
| "singleQuote": true, | ||
| "printWidth": 80, | ||
| "trailingComma": "all" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "editor.rulers": [80], | ||
| "editor.tabCompletion": true, | ||
| "editor.tabSize": 2, | ||
| "editor.trimAutoWhitespace": true, | ||
| "editor.formatOnSave": true, | ||
|
|
||
| "files.exclude": { | ||
| "**/.DS_Store": true, | ||
| "**/.git": true, | ||
| "**/.hg": true, | ||
| "**/.svn": true, | ||
| "**/CVS": true, | ||
| "dist*": true, | ||
| }, | ||
| "files.insertFinalNewline": true, | ||
| "files.trimTrailingWhitespace": true, | ||
|
|
||
| "tslint.ignoreDefinitionFiles": true, | ||
| "typescript.tsdk": "./node_modules/typescript/lib" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
| // for the documentation about the tasks.json format | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "label": "Watch and Compile Project", | ||
| "type": "shell", | ||
| "command": "npm", | ||
| "args": ["--silent", "run", "build:watch"], | ||
| "group": { | ||
| "kind": "build", | ||
| "isDefault": true | ||
| }, | ||
| "problemMatcher": "$tsc-watch" | ||
| }, | ||
| { | ||
| "label": "Build, Test and Lint", | ||
| "type": "shell", | ||
| "command": "npm", | ||
| "args": ["--silent", "run", "test:dev"], | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this be
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The 'advocated' development pattern according to
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah ok. Makes sense. 👍 |
||
| "group": { | ||
| "kind": "test", | ||
| "isDefault": true | ||
| }, | ||
| "problemMatcher": ["$tsc", "$tslint5"] | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "$schema": "http://json.schemastore.org/tslint", | ||
| "extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "$schema": "http://json.schemastore.org/tslint", | ||
| "extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| dist | ||
| dist6 | ||
| dist* | ||
| *.json |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "bracketSpacing": false, | ||
| "singleQuote": true, | ||
| "printWidth": 80, | ||
| "trailingComma": "all" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "editor.rulers": [80], | ||
| "editor.tabCompletion": true, | ||
| "editor.tabSize": 2, | ||
| "editor.trimAutoWhitespace": true, | ||
| "editor.formatOnSave": true, | ||
|
|
||
| "files.exclude": { | ||
| "**/.DS_Store": true, | ||
| "**/.git": true, | ||
| "**/.hg": true, | ||
| "**/.svn": true, | ||
| "**/CVS": true, | ||
| "dist*": true, | ||
| }, | ||
| "files.insertFinalNewline": true, | ||
| "files.trimTrailingWhitespace": true, | ||
|
|
||
| "tslint.ignoreDefinitionFiles": true, | ||
| "typescript.tsdk": "./node_modules/typescript/lib" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
| // for the documentation about the tasks.json format | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "label": "Watch and Compile Project", | ||
| "type": "shell", | ||
| "command": "npm", | ||
| "args": ["--silent", "run", "build:watch"], | ||
| "group": { | ||
| "kind": "build", | ||
| "isDefault": true | ||
| }, | ||
| "problemMatcher": "$tsc-watch" | ||
| }, | ||
| { | ||
| "label": "Build, Test and Lint", | ||
| "type": "shell", | ||
| "command": "npm", | ||
| "args": ["--silent", "run", "test:dev"], | ||
| "group": { | ||
| "kind": "test", | ||
| "isDefault": true | ||
| }, | ||
| "problemMatcher": ["$tsc", "$tslint5"] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "$schema": "http://json.schemastore.org/tslint", | ||
| "extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "$schema": "http://json.schemastore.org/tslint", | ||
| "extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| *.js | ||
| *.d.ts | ||
| dist* | ||
| *.json |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "bracketSpacing": false, | ||
| "singleQuote": true, | ||
| "printWidth": 80, | ||
| "trailingComma": "all" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "editor.rulers": [80], | ||
| "editor.tabCompletion": true, | ||
| "editor.tabSize": 2, | ||
| "editor.trimAutoWhitespace": true, | ||
| "editor.formatOnSave": true, | ||
|
|
||
| "files.exclude": { | ||
| "**/.DS_Store": true, | ||
| "**/.git": true, | ||
| "**/.hg": true, | ||
| "**/.svn": true, | ||
| "**/CVS": true, | ||
| "dist*": true, | ||
| }, | ||
| "files.insertFinalNewline": true, | ||
| "files.trimTrailingWhitespace": true, | ||
|
|
||
| "tslint.ignoreDefinitionFiles": true, | ||
| "typescript.tsdk": "./node_modules/typescript/lib" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no matching
build:watchinpackage.json.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!