From: AJ ONeal Date: Mon, 27 Apr 2020 20:52:30 +0000 (+0000) Subject: make Prettier X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=07b4e36eed300d1bcd107857724736afba4d1afb;p=webi-installers%2F.git make Prettier --- diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..cd64a92 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "trailingComma": "none", + "tabWidth": 2, + "singleQuote": true, + "proseWrap": "always" +} diff --git a/flutter/versions.js b/flutter/versions.js index 5bbefc5..6b8f57b 100644 --- a/flutter/versions.js +++ b/flutter/versions.js @@ -1,6 +1,6 @@ -"use strict"; +'use strict'; -var request = require("@root/request"); +var request = require('@root/request'); // TODO // get list of supported platforms and archetectures @@ -10,17 +10,17 @@ var request = require("@root/request"); module.platforms = async function () { return [ - ["macos", "amd64"], - ["linux", "amd64"], - ["windows", "amd64"], + ['macos', 'amd64'], + ['linux', 'amd64'], + ['windows', 'amd64'] ]; }; module.versions = async function (os, _arch) { return request({ url: - "https://storage.googleapis.com/flutter_infra/releases/releases_" + + 'https://storage.googleapis.com/flutter_infra/releases/releases_' + os + - ".json", + '.json' }); };