Skip to content

Commit add650a

Browse files
Schweinepriesterljharb
authored andcommittedNov 3, 2021
[Docs] HTTP => HTTPS
1 parent 6682e9a commit add650a

18 files changed

+31
-28
lines changed
 

‎.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ lib-cov
1313
# Coverage directory used by tools like istanbul
1414
coverage
1515

16-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
16+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
1717
.grunt
1818

19-
# Compiled binary addons (http://nodejs.org/api/addons.html)
19+
# Compiled binary addons (https://nodejs.org/api/addons.html)
2020
build/Release
2121

2222
# Copied from ./LICENSE for the npm module releases

‎CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Change Log
22

33
All notable changes to this project will be documented in this file.
4-
This project adheres to [Semantic Versioning](http://semver.org/).
5-
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
4+
This project adheres to [Semantic Versioning](https://semver.org/).
5+
This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com).
66

77
## [Unreleased]
88

@@ -14,6 +14,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1414
- [Docs] [`order`]: add type to the default groups ([#2272], [@charpeni])
1515
- [readme] Add note to TypeScript docs to install appropriate resolver ([#2279], [@johnthagen])
1616
- [Refactor] `importType`: combine redundant `isScoped` and `isScopedModule` ([@ljharb])
17+
- [Docs] HTTP => HTTPS ([#2287], [@Schweinepriester])
1718

1819
## [2.25.2] - 2021-10-12
1920

@@ -938,6 +939,7 @@ for info on changes for earlier releases.
938939

939940
[`memo-parser`]: ./memo-parser/README.md
940941

942+
[#2287]: https://github.com/import-js/eslint-plugin-import/pull/2287
941943
[#2282]: https://github.com/import-js/eslint-plugin-import/pull/2282
942944
[#2279]: https://github.com/import-js/eslint-plugin-import/pull/2279
943945
[#2272]: https://github.com/import-js/eslint-plugin-import/pull/2272
@@ -1576,6 +1578,7 @@ for info on changes for earlier releases.
15761578
[@saschanaz]: https://github.com/saschanaz
15771579
[@schmidsi]: https://github.com/schmidsi
15781580
[@schmod]: https://github.com/schmod
1581+
[@Schweinepriester]: https://github.com/Schweinepriester
15791582
[@scottnonnenberg]: https://github.com/scottnonnenberg
15801583
[@sergei-startsev]: https://github.com/sergei-startsev
15811584
[@sharmilajesupaul]: https://github.com/sharmilajesupaul

‎CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ If we can all get together behind the common goal of embracing empathy, everythi
110110

111111
#### Attribution
112112

113-
Thanks for help from http://mozillascience.github.io/working-open-workshop/contributing/
113+
Thanks for help from https://mozillascience.github.io/working-open-workshop/contributing/
114114
for inspiration before I wrote this. --ben
115115

116116
[README.md]: ./README.md

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![coverage][codecov-image]][codecov-url]
66
[![win32 build status](https://ci.appveyor.com/api/projects/status/3mw2fifalmjlqf56/branch/main?svg=true)](https://ci.appveyor.com/project/import-js/eslint-plugin-import/branch/main)
77
[![npm](https://img.shields.io/npm/v/eslint-plugin-import.svg)](https://www.npmjs.com/package/eslint-plugin-import)
8-
[![npm downloads](https://img.shields.io/npm/dt/eslint-plugin-import.svg?maxAge=2592000)](http://www.npmtrends.com/eslint-plugin-import)
8+
[![npm downloads](https://img.shields.io/npm/dt/eslint-plugin-import.svg?maxAge=2592000)](https://www.npmtrends.com/eslint-plugin-import)
99

1010
This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import names. All the goodness that the ES2015+ static module syntax intends to provide, marked up in your editor.
1111

@@ -256,7 +256,7 @@ the process's current working directory if no `package.json` is found.
256256
If you are interesting in writing a resolver, see the [spec](./resolvers/README.md) for more details.
257257

258258
[`resolve`]: https://www.npmjs.com/package/resolve
259-
[`externals`]: http://webpack.github.io/docs/library-and-externals.html
259+
[`externals`]: https://webpack.github.io/docs/library-and-externals.html
260260

261261
[Node]: https://www.npmjs.com/package/eslint-import-resolver-node
262262
[webpack]: https://www.npmjs.com/package/eslint-import-resolver-webpack
@@ -483,7 +483,7 @@ The purpose of the `chdir` setting, in this case, is to set the working director
483483
from which ESLint is executed to be the same as the directory on which SublimeLinter-eslint
484484
bases the relative path it provides.
485485

486-
See the SublimeLinter docs on [`chdir`](http://www.sublimelinter.com/en/latest/linter_settings.html#chdir)
486+
See the SublimeLinter docs on [`chdir`](https://www.sublimelinter.com/en/latest/linter_settings.html#chdir)
487487
for more information, in case this does not work with your project.
488488

489489
If you are not using `.eslintignore`, or don't have a Sublime project file, you can also

‎docs/rules/first.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ A directive in this case is assumed to be a single statement that contains only
4545
a literal string-valued expression.
4646

4747
`'use strict'` would be a good example, except that [modules are always in strict
48-
mode](http://www.ecma-international.org/ecma-262/6.0/#sec-strict-mode-code) so it would be surprising to see a `'use strict'` sharing a file with `import`s and
48+
mode](https://262.ecma-international.org/6.0/#sec-strict-mode-code) so it would be surprising to see a `'use strict'` sharing a file with `import`s and
4949
`export`s.
5050

5151
Given that, see [#255] for the reasoning.

‎docs/rules/no-duplicates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Reports if a resolved path is imported more than once.
44
+(fixable) The `--fix` option on the [command line] automatically fixes some problems reported by this rule.
55

6-
ESLint core has a similar rule ([`no-duplicate-imports`](http://eslint.org/docs/rules/no-duplicate-imports)), but this version
6+
ESLint core has a similar rule ([`no-duplicate-imports`](https://eslint.org/docs/rules/no-duplicate-imports)), but this version
77
is different in two key ways:
88

99
1. the paths in the source code don't have to exactly match, they just have to point to the same module on the filesystem. (i.e. `./foo` and `./foo.js`)

‎docs/rules/no-mutable-exports.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ want to enable the following core ESLint rules:
4444
- [no-func-assign]
4545
- [no-class-assign]
4646

47-
[no-func-assign]: http://eslint.org/docs/rules/no-func-assign
48-
[no-class-assign]: http://eslint.org/docs/rules/no-class-assign
47+
[no-func-assign]: https://eslint.org/docs/rules/no-func-assign
48+
[no-class-assign]: https://eslint.org/docs/rules/no-class-assign
4949

5050
## When Not To Use It
5151

‎docs/rules/unambiguous.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ a `module`.
5050
- [`parserOptions.sourceType`]
5151
- [node-eps#13](https://github.com/nodejs/node-eps/issues/13)
5252

53-
[`parserOptions.sourceType`]: http://eslint.org/docs/user-guide/configuring#specifying-parser-options
53+
[`parserOptions.sourceType`]: https://eslint.org/docs/user-guide/configuring#specifying-parser-options
5454
[Unambiguous JavaScript Grammar]: https://github.com/nodejs/node-eps/blob/HEAD/002-es-modules.md#32-determining-if-source-is-an-es-module

‎resolvers/node/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22
All notable changes to this resolver will be documented in this file.
3-
This project adheres to [Semantic Versioning](http://semver.org/).
4-
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
3+
This project adheres to [Semantic Versioning](https://semver.org/).
4+
This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com).
55

66
## Unreleased
77

‎resolvers/webpack/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22
All notable changes to this resolver will be documented in this file.
3-
This project adheres to [Semantic Versioning](http://semver.org/).
4-
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
3+
This project adheres to [Semantic Versioning](https://semver.org/).
4+
This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com).
55

66
## Unreleased
77

‎resolvers/webpack/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function createWebpack2ResolveSync(webpackRequire, resolveConfig) {
236236
}
237237

238238
/**
239-
* webpack 1 defaults: http://webpack.github.io/docs/configuration.html#resolve-packagemains
239+
* webpack 1 defaults: https://webpack.github.io/docs/configuration.html#resolve-packagemains
240240
* @type {Array}
241241
*/
242242
const webpack1DefaultMains = [

‎resolvers/webpack/test/alias.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('resolve.alias', function () {
2222

2323
// todo: reimplement with resolver function / config
2424
// describe.skip('webpack alias spec', function () {
25-
// // from table: http://webpack.github.io/docs/configuration.html#resolve-alias
25+
// // from table: https://webpack.github.io/docs/configuration.html#resolve-alias
2626
// function tableLine(alias, xyz, xyzFile) {
2727
// describe(JSON.stringify(alias), function () {
2828
// it('xyz: ' + xyz, function () {
@@ -82,7 +82,7 @@ describe('resolve.alias', function () {
8282
// });
8383

8484
// describe.skip('nested module names', function () {
85-
// // from table: http://webpack.github.io/docs/configuration.html#resolve-alias
85+
// // from table: https://webpack.github.io/docs/configuration.html#resolve-alias
8686
// function nestedName(alias, xyz, xyzFile) {
8787
// describe(JSON.stringify(alias), function () {
8888
// it('top/xyz: ' + xyz, function () {

‎src/rules/namespace.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = {
6868
case 'ImportDefaultSpecifier':
6969
case 'ImportSpecifier': {
7070
const meta = imports.get(
71-
// default to 'default' for default http://i.imgur.com/nj6qAWy.jpg
71+
// default to 'default' for default https://i.imgur.com/nj6qAWy.jpg
7272
specifier.imported ? specifier.imported.name : 'default',
7373
);
7474
if (!meta || !meta.namespace) { break; }

‎tests/files/flowtypes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
// requires babel-eslint parser or flow plugin
3-
// http://flowtype.org/blog/2015/02/18/Import-Types.html
3+
// https://flowtype.org/blog/2015/02/18/Import-Types.html
44
export type MyType = {
55
id: number,
66
firstName: string,

‎tests/src/rules/no-unresolved.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function runResolverTests(resolver) {
6767
options: [{ amd: true }] }),
6868
rest({ code: 'require(["./does-not-exist"], function (bar) {})',
6969
options: [{ amd: false }] }),
70-
// magic modules: http://git.io/vByan
70+
// magic modules: https://git.io/vByan
7171
rest({ code: 'define(["require", "exports", "module"], function (r, e, m) { })',
7272
options: [{ amd: true }] }),
7373

‎utils/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22
All notable changes to this module will be documented in this file.
3-
This project adheres to [Semantic Versioning](http://semver.org/).
4-
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
3+
This project adheres to [Semantic Versioning](https://semver.org/).
4+
This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com).
55

66
## Unreleased
77

‎utils/moduleVisitor.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ exports.default = function visitModules(visitor, options) {
5454
}
5555

5656
// for CommonJS `require` calls
57-
// adapted from @mctep: http://git.io/v4rAu
57+
// adapted from @mctep: https://git.io/v4rAu
5858
function checkCommon(call) {
5959
if (call.callee.type !== 'Identifier') return;
6060
if (call.callee.name !== 'require') return;
@@ -81,7 +81,7 @@ exports.default = function visitModules(visitor, options) {
8181
if (typeof element.value !== 'string') continue;
8282

8383
if (element.value === 'require' ||
84-
element.value === 'exports') continue; // magic modules: http://git.io/vByan
84+
element.value === 'exports') continue; // magic modules: https://git.io/vByan
8585

8686
checkSourceValue(element, element);
8787
}

‎utils/resolve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function tryRequire(target, sourceFile) {
5151
return require(resolved);
5252
}
5353

54-
// http://stackoverflow.com/a/27382838
54+
// https://stackoverflow.com/a/27382838
5555
exports.fileExistsWithCaseSync = function fileExistsWithCaseSync(filepath, cacheSettings, strict) {
5656
// don't care if the FS is case-sensitive
5757
if (CASE_SENSITIVE_FS) return true;

0 commit comments

Comments
 (0)
Please sign in to comment.