From 0e5bed97c6b0cba5f7540980235a7b6ffdb1e89f Mon Sep 17 00:00:00 2001 From: Michael Olukoya Date: Wed, 6 May 2020 17:17:16 +0100 Subject: [PATCH] [Docs] `no-webpack-loader-syntax`: Updates webpack URLs --- CHANGELOG.md | 3 +++ docs/rules/no-webpack-loader-syntax.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 495bc3035..c76df6a18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel - [`no-duplicates`]: fix fixer on cases with default import ([#1666], thanks [@golopot]) - [`no-unused-modules`]: Handle `export { default } from` syntax ([#1631], thanks [@richardxia]) - [`first`]: Add a way to disable `absolute-first` explicitly ([#1664], thanks [@TheCrueltySage]) +- [Docs] `no-webpack-loader-syntax`: Updates webpack URLs ([#1751], thanks [@MikeyBeLike]) ## [2.20.1] - 2020-02-01 ### Fixed @@ -689,6 +690,7 @@ for info on changes for earlier releases. [#1770]: https://github.com/benmosher/eslint-plugin-import/pull/1770 [#1764]: https://github.com/benmosher/eslint-plugin-import/pull/1764 [#1763]: https://github.com/benmosher/eslint-plugin-import/pull/1763 +[#1751]: https://github.com/benmosher/eslint-plugin-import/pull/1751 [#1744]: https://github.com/benmosher/eslint-plugin-import/pull/1744 [#1736]: https://github.com/benmosher/eslint-plugin-import/pull/1736 [#1726]: https://github.com/benmosher/eslint-plugin-import/pull/1726 @@ -1177,3 +1179,4 @@ for info on changes for earlier releases. [@manuth]: https://github.com/manuth [@julien1619]: https://github.com/julien1619 [@darkartur]: https://github.com/darkartur +[@MikeyBeLike]: https://github.com/MikeyBeLike diff --git a/docs/rules/no-webpack-loader-syntax.md b/docs/rules/no-webpack-loader-syntax.md index 37b39a432..271c76ca8 100644 --- a/docs/rules/no-webpack-loader-syntax.md +++ b/docs/rules/no-webpack-loader-syntax.md @@ -2,12 +2,12 @@ Forbid Webpack loader syntax in imports. -[Webpack](http://webpack.github.io) allows specifying the [loaders](http://webpack.github.io/docs/loaders.html) to use in the import source string using a special syntax like this: +[Webpack](https://webpack.js.org) allows specifying the [loaders](https://webpack.js.org/concepts/loaders/) to use in the import source string using a special syntax like this: ```js var moduleWithOneLoader = require("my-loader!./my-awesome-module"); ``` -This syntax is non-standard, so it couples the code to Webpack. The recommended way to specify Webpack loader configuration is in a [Webpack configuration file](http://webpack.github.io/docs/loaders.html#loaders-by-config). +This syntax is non-standard, so it couples the code to Webpack. The recommended way to specify Webpack loader configuration is in a [Webpack configuration file](https://webpack.js.org/concepts/loaders/#configuration). ## Rule Details