1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

unicorn/prefer-node-protocol

This commit is contained in:
XhmikosR
2024-03-11 16:19:46 +02:00
parent 958cdec31b
commit 9c1b83a23c
2 changed files with 2 additions and 5 deletions

View File

@@ -210,9 +210,6 @@
"extends": "plugin:markdown/recommended", "extends": "plugin:markdown/recommended",
"parserOptions": { "parserOptions": {
"sourceType": "module" "sourceType": "module"
},
"rules": {
"unicorn/prefer-node-protocol": "off"
} }
} }
] ]

View File

@@ -79,7 +79,7 @@ With dependencies installed and our project folder ready for us to start coding,
```js ```js
'use strict' 'use strict'
const path = require('path') const path = require('node:path')
const HtmlWebpackPlugin = require('html-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports = { module.exports = {
@@ -154,7 +154,7 @@ Importing Bootstrap into Webpack requires the loaders we installed in the first
```js ```js
'use strict' 'use strict'
const path = require('path') const path = require('node:path')
const autoprefixer = require('autoprefixer') const autoprefixer = require('autoprefixer')
const HtmlWebpackPlugin = require('html-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin')