From 9c1b83a23c4b46323e887f6c8d3d995697f9b6ea Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 11 Mar 2024 16:19:46 +0200 Subject: [PATCH] unicorn/prefer-node-protocol --- .eslintrc.json | 3 --- site/content/docs/5.3/getting-started/webpack.md | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 2ba9043432..081b456514 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -210,9 +210,6 @@ "extends": "plugin:markdown/recommended", "parserOptions": { "sourceType": "module" - }, - "rules": { - "unicorn/prefer-node-protocol": "off" } } ] diff --git a/site/content/docs/5.3/getting-started/webpack.md b/site/content/docs/5.3/getting-started/webpack.md index 39adaf61a2..1065650098 100644 --- a/site/content/docs/5.3/getting-started/webpack.md +++ b/site/content/docs/5.3/getting-started/webpack.md @@ -79,7 +79,7 @@ With dependencies installed and our project folder ready for us to start coding, ```js 'use strict' - const path = require('path') + const path = require('node:path') const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { @@ -154,7 +154,7 @@ Importing Bootstrap into Webpack requires the loaders we installed in the first ```js 'use strict' - const path = require('path') + const path = require('node:path') const autoprefixer = require('autoprefixer') const HtmlWebpackPlugin = require('html-webpack-plugin')