Make eslint work, and fix all warnings. (#511)

* Make eslint work, and fix all warnings.

* Don't ignore v-html rule globally.

* Remove eslint file and merge in package.json.
This commit is contained in:
Kavin 2021-10-08 19:52:51 +01:00 committed by GitHub
parent 41ac97ed92
commit 92d61a23af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 412 additions and 362 deletions

View file

@ -1,19 +1,21 @@
module.exports = {
pwa: {
name: 'Piped',
themeColor: '#fa4b4b',
msTileColor: '#000000',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
workboxPluginMode: 'GenerateSW',
name: "Piped",
themeColor: "#fa4b4b",
msTileColor: "#000000",
appleMobileWebAppCapable: "yes",
appleMobileWebAppStatusBarStyle: "black",
workboxPluginMode: "GenerateSW",
workboxOptions: {
navigateFallback: 'index.html',
navigateFallback: "index.html",
skipWaiting: true,
importWorkboxFrom: 'local',
runtimeCaching: [{
urlPattern: /\.(?:png|svg|ico)$/,
handler: 'CacheFirst',
}],
}
}
}
importWorkboxFrom: "local",
runtimeCaching: [
{
urlPattern: /\.(?:png|svg|ico)$/,
handler: "CacheFirst",
},
],
},
},
};