Skip to content

Commit 37c80bd

Browse files
author
Fa!ko
committed
fix YouTube TOS complaints
1 parent 116fa01 commit 37c80bd

7 files changed

+15407
-7965
lines changed

.eslintrc.js

+10
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ module.exports = {
4646
vue: 'never',
4747
},
4848
],
49+
'comma-dangle': [
50+
'error',
51+
{
52+
arrays: 'always-multiline',
53+
objects: 'always-multiline',
54+
imports: 'always-multiline',
55+
exports: 'always-multiline',
56+
functions: 'ignore',
57+
},
58+
],
4959
// allow optionalDependencies
5060
'import/no-extraneous-dependencies': [
5161
'error',

config/webpack.base.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ module.exports = {
4040
{
4141
loader: 'sass-loader',
4242
options: {
43-
indentedSyntax: true,
43+
sassOptions: {
44+
indentedSyntax: true,
45+
},
4446
},
4547
},
4648
],
@@ -57,10 +59,12 @@ module.exports = {
5759
},
5860
plugins: [
5961
new VueLoaderPlugin(),
60-
new CopyWebpackPlugin([{ context: './src/website/static/', from: '**/*', to: './' }]),
62+
new CopyWebpackPlugin({
63+
patterns: [{ context: './src/website/static/', from: '**/*', to: './' }],
64+
}),
6165
new CircularDependencyPlugin({
6266
failOnError: true,
63-
exclude: /asn1|readable-stream|elliptic|des\.js/,
67+
exclude: /asn1|readable-stream|elliptic|des\.js|node_modules/,
6468
}),
6569
new MiniCssExtractPlugin({
6670
filename: 'style.css',

config/webpack.devserver.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ config.plugins = [
2626
},
2727
}),
2828
new webpack.NamedModulesPlugin(),
29-
new CircularDependencyPlugin(),
29+
new CircularDependencyPlugin({
30+
exclude: /node_modules/,
31+
}),
3032
new webpack.HotModuleReplacementPlugin(),
3133
new webpack.LoaderOptionsPlugin({
3234
options: {

0 commit comments

Comments
 (0)