Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions webpack.docs.build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/* eslint-env node, commonjs, es2017 */

const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const RemoveEmptyScriptsPlugin = require('webpack-remove-empty-scripts');
Expand Down
2 changes: 0 additions & 2 deletions webpack.docs.static.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/* eslint-env node, commonjs, es2017 */

const CopyPlugin = require('copy-webpack-plugin');
const path = require('path');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
Expand Down
2 changes: 0 additions & 2 deletions webpack.package.build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/* eslint-env node, commonjs, es2017 */

const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const RemoveEmptyScriptsPlugin = require('webpack-remove-empty-scripts');
Expand Down
2 changes: 0 additions & 2 deletions webpack.package.static.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/* eslint-env node, commonjs, es2017 */

const CopyPlugin = require('copy-webpack-plugin');
const path = require('path');
Comment on lines -7 to 8
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth noting the new globals are defined slightly differently:

protocol/eslint.config.js

Lines 124 to 132 in d20837b

'webpack.package.build.config.js',
'webpack.package.static.config.js',
'webpack.test.config.js'
],
languageOptions: {
ecmaVersion: 'latest',
globals: {
...globals.node,
...globals.commonjs

const { CleanWebpackPlugin } = require('clean-webpack-plugin');
Expand Down