Skip to content

Commit

Permalink
Merge pull request #426 from cybozu/renovate/major-eslint-and-prettier
Browse files Browse the repository at this point in the history
Update ESLint and Prettier (major)
  • Loading branch information
pirosikick committed May 28, 2020
2 parents 28ca819 + b1efa12 commit 7d48fbc
Show file tree
Hide file tree
Showing 39 changed files with 413 additions and 415 deletions.
2 changes: 1 addition & 1 deletion examples/build-and-serve/duck.config.js
Expand Up @@ -3,7 +3,7 @@ module.exports = {
inputsRoot: "js",
depsJs: "build/deps.js",
depsJsIgnoreDirs: ["node_modules", "build"],
entryConfigDir: "entry-config/entries"
entryConfigDir: "entry-config/entries",
// http2: true,
// https: {
// keyPath: "./duck-key.pem",
Expand Down
2 changes: 1 addition & 1 deletion examples/build-and-serve/js/chunk1.js
Expand Up @@ -6,7 +6,7 @@ goog.require("goog.ui.Component");
/**
* @return {string}
*/
app.chunk1.getMessage = function() {
app.chunk1.getMessage = function () {
return "from chunk1";
};

Expand Down
8 changes: 4 additions & 4 deletions examples/build-and-serve/js/chunks.js
Expand Up @@ -10,13 +10,13 @@ goog.scope(() => {
// moduleLoader.setDebugMode(!!goog.global['PLOVR_MODULE_USE_DEBUG_MODE']);
moduleLoader.setDebugMode(true);
moduleManager.setLoader(moduleLoader);
moduleManager.setAllModuleInfo(goog.global["PLOVR_MODULE_INFO"]);
moduleManager.setAllModuleInfo(goog.global.PLOVR_MODULE_INFO);
const trustedModuleUris = {};
for (const id in goog.global["PLOVR_MODULE_URIS"]) {
for (const id in goog.global.PLOVR_MODULE_URIS) {
trustedModuleUris[id] = [
goog.html.legacyconversions.trustedResourceUrlFromString(
goog.global["PLOVR_MODULE_URIS"][id]
)
goog.global.PLOVR_MODULE_URIS[id]
),
];
}
moduleManager.setModuleTrustedUris(trustedModuleUris);
Expand Down
2 changes: 1 addition & 1 deletion examples/build-deps/duck.config.js
Expand Up @@ -2,5 +2,5 @@ module.exports = {
closureLibraryDir: "node_modules/google-closure-library",
inputsRoot: ".",
depsJs: "build/duck.deps.js",
depsJsIgnoreDirs: ["node_modules", "build"]
depsJsIgnoreDirs: ["node_modules", "build"],
};
2 changes: 1 addition & 1 deletion examples/build-deps/script1.js
Expand Up @@ -2,7 +2,7 @@ goog.provide("app.script1");

goog.require("app.module1");

goog.scope(function() {
goog.scope(function () {
const module1 = goog.module.get("app.module1");
app.script1 = `from app.script1 ${module1}`;
});

0 comments on commit 7d48fbc

Please sign in to comment.