Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
get-childitem *.mp3 | foreach { rename-item $_ $_.Name.Replace("Radiohead -", "") } | |
// source: https://superuser.com/a/578076 |
// email validation | |
// .test('checkDuplUsername', 'same name exists', function (value) { | |
// return new Promise((resolve, reject) => { | |
// kn.http({ | |
// url: `/v1/api/${value}`, | |
// method: 'head', | |
// }).then(() => { | |
// // exists | |
// resolve(false) |
# This is a sample build configuration for JavaScript. | |
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples. | |
# Only use spaces to indent your .yml configuration. | |
# ----- | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
image: node:10.15.3 | |
pipelines: | |
branches: | |
test: #name of your test branch |