Skip to content

Commit

Permalink
Initial code commit (#1)
Browse files Browse the repository at this point in the history
* Initial code commit
  • Loading branch information
kddejong committed May 10, 2018
1 parent b6999b1 commit 32d38b8
Show file tree
Hide file tree
Showing 22 changed files with 3,313 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .gitignore
@@ -0,0 +1,10 @@
out
node_modules
.vscode-test/
*.vsix
client/server
.DS_Store
npm-debug.log
Thumbs.db
*/node_modules/
*/out/
26 changes: 26 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "extensionHost",
"request": "launch",
"name": "Launch Extension",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/client/out/**/*.js"]
// "preLaunchTask": "watch"
},
{
"type": "node",
"request": "attach",
"name": "Attach to Server",
"address": "localhost",
"protocol": "inspector",
"port": 6010,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
}
]
}
16 changes: 16 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,16 @@
{
"files.exclude": {
"out": false
},
"search.exclude": {
"out": true,
"server": true
},
"files.trimTrailingWhitespace": true,
"editor.insertSpaces": false,
"editor.tabSize": 4,
"typescript.tsdk": "./node_modules/typescript/lib",
"eslint.enable": false,
"tslint.enable": false,
"eslint.trace.server": "off"
}
44 changes: 44 additions & 0 deletions .vscode/tasks.json
@@ -0,0 +1,44 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "watch",
"dependsOn": [
"npm: watch:client", "npm: watch:server"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"type": "npm",
"script": "watch:client",
"isBackground": true,
"group": "build",
"presentation": {
"reveal": "never",
"panel": "dedicated"
},
"problemMatcher": [
"$tsc-watch"
]
},
{
"type": "npm",
"script": "watch:server",
"isBackground": true,
"group": "build",
"presentation": {
"reveal": "never",
"panel": "dedicated"
},
"problemMatcher": [
"$tsc-watch"
]
}
]
}
9 changes: 9 additions & 0 deletions .vscodeignore
@@ -0,0 +1,9 @@
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
tslint.json
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,5 @@
# Change Log
All notable changes to the "vscode-cfn-lint" extension will be documented in this file.

## 0.1.0
- Initial release
20 changes: 16 additions & 4 deletions README.md
@@ -1,7 +1,19 @@
## AWS Cfn Lint Visual Studio Code
# vscode-cfn-lint

Provides IDE specific integration to cfn-lint. https://github.com/awslabs/cfn-python-lint
VS Code CloudFormation Linter uses cfn-lint to lint your CloudFormation templates.

## License
## Features

This library is licensed under the Apache 2.0 License.
Uses cfn-lint to parse and show issues with CloudFormation templates

For example if there is an image subfolder under your extension project workspace:

![features](/images/features.png)

## Requirements

Requires cfn-lint to be installed. `pip install cfn-lint`

## Extension Settings

* `cfnLint.path`: path to the cfn-lint command
9 changes: 9 additions & 0 deletions client/.vscodeignore
@@ -0,0 +1,9 @@
.vscode/**
typings/**
out/test/**
test/**
src/**
**/*.map
.gitignore
tsconfig.json
vsc-extension-quickstart.md

0 comments on commit 32d38b8

Please sign in to comment.