Skip to content

Commit

Permalink
Expose configuration key for semicolon occurrence
Browse files Browse the repository at this point in the history
- Adds extension main module
- Bumps VS Code engine version
- Lists activation events
- Adds configuration object
- Deletes unknown 'vue' language identifier
- Updates extension display name and description
  • Loading branch information
felicio committed Nov 4, 2017
1 parent a761d37 commit e6474dc
Show file tree
Hide file tree
Showing 15 changed files with 3,842 additions and 194 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
env: {
es6: true,
node: true,
},
extends: 'eslint:recommended',
rules: {
quotes: ['error', 'single'],
semi: ['error', 'always'],
'no-console': ['error', { allow: ['warn', 'error'] }],
},
};
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Normalize line endings to LF
* text=auto
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
Expand Down Expand Up @@ -194,3 +194,6 @@ FakesAssemblies/

# Visual Studio 6 workspace options file
*.opt

*.vsix
snippets/snippets.json
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "es5",
"semi": true
}
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"stopOnEntry": false,
"preLaunchTask": "clean"
}
]
}
17 changes: 17 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "clean",
"type": "npm",
"script": "clean",
"presentation": {
"echo": true,
"reveal": "never",
"focus": false,
"panel": "shared"
},
"problemMatcher": []
}
]
}
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.gitignore
LICENSE
CHANGELOG.md
.vscode/**
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Installs](https://vsmarketplacebadge.apphb.com/installs/xabikos.JavaScriptSnippets.svg)](https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets)
[![Ratings](https://vsmarketplacebadge.apphb.com/rating/xabikos.JavaScriptSnippets.svg)](https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets)

This extension contains code snippets for JavaScript in ES6 syntax for [Vs Code][code] editor (supports both JavaScript and TypeScript).
This extension contains code snippets for JavaScript in ES6 syntax for [VS Code][code] editor (supports both JavaScript and TypeScript).

## Installation

Expand All @@ -19,7 +19,6 @@ There you have either the option to show the already installed snippets or insta
* JavaScript React (.jsx)
* TypeScript React (.tsx)
* Html (.html)
* Vue (.vue)

## Snippets

Expand Down
5 changes: 5 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"exclude": [
"node_modules"
]
}
Loading

0 comments on commit e6474dc

Please sign in to comment.