Skip to content

Commit

Permalink
use es5 setting for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Budi Irawan committed Oct 20, 2017
1 parent cfda119 commit 9fd2c5e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
@@ -1,5 +1,5 @@
{
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all"
"trailingComma": "es5"
}
5 changes: 3 additions & 2 deletions .vscode/settings.json
Expand Up @@ -6,5 +6,6 @@
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
}
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version,
"editor.formatOnSave": true
}
8 changes: 4 additions & 4 deletions src/extension.ts
Expand Up @@ -17,25 +17,25 @@ export function activate(context: ExtensionContext) {
context.subscriptions.push(
commands.registerCommand('extension.dash.specific', () => {
searchSpecific();
}),
})
);

context.subscriptions.push(
commands.registerCommand('extension.dash.all', () => {
searchAll();
}),
})
);

context.subscriptions.push(
commands.registerCommand('extension.dash.emptySyntax', () => {
searchEmptySyntax();
}),
})
);

context.subscriptions.push(
commands.registerCommand('extension.dash.customSyntax', () => {
searchCustomWithSyntax();
}),
})
);
}

Expand Down
2 changes: 1 addition & 1 deletion test/extension.test.ts
Expand Up @@ -22,7 +22,7 @@ suite('Dash Tests', () => {

assert.equal(
uri,
'start dash-plugin:// && start dash-plugin://query=size^&keys=css,less',
'start dash-plugin:// && start dash-plugin://query=size^&keys=css,less'
);
});

Expand Down

0 comments on commit 9fd2c5e

Please sign in to comment.