Skip to content

Commit 8c04d27

Browse files
committed
Automatically fixed lint errors
1 parent 361ecef commit 8c04d27

8 files changed

Lines changed: 39 additions & 40 deletions

File tree

vue/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ["@vue/cli-plugin-babel/preset"]
2+
presets: ["@vue/cli-plugin-babel/preset"]
33
};

vue/makeOpk.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ function readFile(filePath) {
1616
});
1717
}
1818

19-
function deleteFile(filePath) { return new Promise(resolve => {
20-
fs.unlink(filePath, resolve);
21-
})}
19+
function deleteFile(filePath) {
20+
return new Promise(resolve => {
21+
fs.unlink(filePath, resolve);
22+
});
23+
}
2224

2325
async function makeOPK(suffix = "") {
2426
const packagePath = path.resolve(__dirname, "./package.json"),

vue/src/background/App.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,4 @@ export default {
5656
}
5757
};
5858
</script>
59-
<style>
60-
61-
</style>
59+
<style></style>

vue/src/desktop/App.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,14 @@
5757
<div>
5858
What can you learn with this sample app?
5959
<br /><br />
60-
1. How to listen to real-time game events and how to identify specific
61-
events like start/end match, kill, and death.
60+
1. How to listen to real-time game events and how to identify
61+
specific events like start/end match, kill, and death.
6262
<br /><br />
63-
2. How to use a transparent background window as a service bus, that
64-
acts as the main controller of your app.
63+
2. How to use a transparent background window as a service bus,
64+
that acts as the main controller of your app.
6565
<br /><br />
66-
3. How to use Hotkeys that show/hide your app while you are in-game.
66+
3. How to use Hotkeys that show/hide your app while you are
67+
in-game.
6768
</div>
6869
</v-col>
6970
<v-col cols="12" md="3">

vue/src/in_game/App.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@ export default {
1515
}
1616
};
1717
</script>
18-
<style>
19-
20-
</style>
18+
<style></style>

vue/src/plugins/appWindow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default {
2121
}
2222
maximized = !maximized;
2323
};
24-
Vue.prototype.$getWindowState = async function (windowName) {
24+
Vue.prototype.$getWindowState = async function(windowName) {
2525
let window = new OWWindow(windowName);
2626
return await window.getWindowState();
2727
};

vue/src/plugins/vuetify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Vue from "vue";
22
import Vuetify from "vuetify/lib";
33
import colors from "vuetify/es5/util/colors";
44

5-
Vuetify.config.silent = true
5+
Vuetify.config.silent = true;
66

77
Vue.use(Vuetify);
88

vue/vue.config.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
module.exports = {
2-
transpileDependencies: ["vuetify"],
3-
pages: {
4-
background: {
5-
entry: "src/background/main.js",
6-
template: "public/index.html",
7-
filename: "background.html",
8-
title: "Example - Background"
9-
},
10-
desktop: {
11-
entry: "src/desktop/main.js",
12-
template: "public/index.html",
13-
filename: "desktop.html",
14-
title: "Example - Desktop"
15-
},
16-
in_game: {
17-
entry: "src/in_game/main.js",
18-
template: "public/index.html",
19-
filename: "in_game.html",
20-
title: "Example - In game"
21-
}
2+
transpileDependencies: ["vuetify"],
3+
pages: {
4+
background: {
5+
entry: "src/background/main.js",
6+
template: "public/index.html",
7+
filename: "background.html",
8+
title: "Example - Background"
229
},
23-
productionSourceMap: false,
24-
configureWebpack: {
25-
devtool: false
10+
desktop: {
11+
entry: "src/desktop/main.js",
12+
template: "public/index.html",
13+
filename: "desktop.html",
14+
title: "Example - Desktop"
15+
},
16+
in_game: {
17+
entry: "src/in_game/main.js",
18+
template: "public/index.html",
19+
filename: "in_game.html",
20+
title: "Example - In game"
2621
}
22+
},
23+
productionSourceMap: false,
24+
configureWebpack: {
25+
devtool: false
26+
}
2727
};

0 commit comments

Comments
 (0)