diff --git a/README.md b/README.md index 7c98e08e52..b9234d1eda 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ You'll find more detailed information on using stylelint and tailoring it to you ## Need help? -If you're looking for help or have a support question, then check out our [FAQ](docs/user-guide/faq.md) first. If the answer to your problem isn't there, then go to [stackoverflow](http://stackoverflow.com/questions/tagged/stylelint). stackoverflow is a huge Question and Answer community, and tagging your post there with "stylelint" will catch the stylelint team's attention. +If you're looking for help or have a support question, then check out our [FAQ](docs/user-guide/faq.md) first. If the answer to your problem isn't there, then go to [stackoverflow](https://stackoverflow.com/questions/tagged/stylelint). stackoverflow is a huge Question and Answer community, and tagging your post there with "stylelint" will catch the stylelint team's attention. If you think you've found a bug or if you have feature request, then create a [new GitHub issue](https://github.com/stylelint/stylelint/issues/new). Be sure to follow the issue template, answering each question, as this helps us greatly in understanding your problem or request. diff --git a/appveyor.yml b/appveyor.yml index 81013cc5bf..00ebd6aef2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -# http://www.appveyor.com/docs/appveyor-yml +# https://www.appveyor.com/docs/appveyor-yml environment: matrix: diff --git a/decls/jest.js b/decls/jest.js index aef79f346c..b0872d0d57 100644 --- a/decls/jest.js +++ b/decls/jest.js @@ -88,7 +88,7 @@ declare var xtest: typeof it; declare function expect(value: any): JestExpectType; // TODO handle return type -// http://jasmine.github.io/2.4/introduction.html#section-Spies +// https://jasmine.github.io/2.4/introduction.html#section-Spies declare function spyOn(value: mixed, method: string): Object; declare var jest: { diff --git a/docs/user-guide/articles.md b/docs/user-guide/articles.md index 28d1277ea8..85b5aed05b 100644 --- a/docs/user-guide/articles.md +++ b/docs/user-guide/articles.md @@ -6,7 +6,7 @@ A collection of articles and tutorials about stylelint. - [Stylelint: The Style Sheet Linter We’ve Always Wanted](https://www.smashingmagazine.com/2016/05/stylelint-the-style-sheet-linter-weve-always-wanted/): Why linting a stylesheet matters and how stylelint brings order to a stylesheet. *(We now recommend using [`gulp-stylelint`](https://github.com/olegskl/gulp-stylelint), rather than the `gulp-postcss` and `postcss-reporter` combination outlined in the article. Also, both the “prevent qualified selectors” and “enforce shorthand values” plugins were rolled into the core rules as `selector-no-qualifying-type` and `shorthand-property-no-redundant-values` respectively)* - [Improving CSS quality at Facebook and beyond](https://code.facebook.com/posts/879890885467584/improving-css-quality-at-facebook-and-beyond): Detailing Facebook's switch from a custom CSS linter to stylelint. - [How to lint your Sass/CSS properly with Stylelint](http://www.creativenightly.com/2016/02/How-to-lint-your-css-with-stylelint/): Introduction to linting CSS. *(As above, we now recommend using [`gulp-stylelint`](https://github.com/olegskl/gulp-stylelint), rather than the `gulp-postcss` and `postcss-reporter` combination outlined in the article)* -- [Improving the Quality of Your CSS with PostCSS](http://www.sitepoint.com/improving-the-quality-of-your-css-with-postcss/): Introduction to various PostCSS linting tools. *(As above, we recommend using [`gulp-stylelint`](https://github.com/olegskl/gulp-stylelint).)* +- [Improving the Quality of Your CSS with PostCSS](https://www.sitepoint.com/improving-the-quality-of-your-css-with-postcss/): Introduction to various PostCSS linting tools. *(As above, we recommend using [`gulp-stylelint`](https://github.com/olegskl/gulp-stylelint).)* - [Floss your style sheets with Stylelint](https://benfrain.com/floss-your-style-sheets-with-stylelint/): The first article written about stylelint. *(As before, we now recommend using [`gulp-stylelint`](https://github.com/olegskl/gulp-stylelint))* Please send us a Pull Request to add your own article to the list. diff --git a/docs/user-guide/faq.md b/docs/user-guide/faq.md index 1b0b21d0d3..8117a3a52d 100644 --- a/docs/user-guide/faq.md +++ b/docs/user-guide/faq.md @@ -21,7 +21,7 @@ You can also disable a rule for specific sections of your CSS. Refer to the rule Refer to the [CLI section](cli.md) of the docs. -The CLI can also be used from within [npm run scripts](http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/) to use a non-global installation of stylelint. +The CLI can also be used from within [npm run scripts](https://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/) to use a non-global installation of stylelint. ## How do I lint using Git pre-commit hooks? diff --git a/lib/rules/no-browser-hacks/README.md b/lib/rules/no-browser-hacks/README.md index 5dc1cbd3d7..3e424d9e5e 100644 --- a/lib/rules/no-browser-hacks/README.md +++ b/lib/rules/no-browser-hacks/README.md @@ -10,7 +10,7 @@ h1 { _color: white; } * Hacks like this */ ``` -If you are uncertain what "browser hacks" are, ["An Introduction to Browser-Specific Hacks"](http://www.sitepoint.com/browser-specific-css-hacks/) explains it well. +If you are uncertain what "browser hacks" are, ["An Introduction to Browser-Specific Hacks"](https://www.sitepoint.com/browser-specific-css-hacks/) explains it well. This rule uses [stylehacks](https://github.com/ben-eb/stylehacks) to detect the hacks. Then, in the spirit of stylelint, it tells you that you've done something wrong. If instead you would like to automatically remove browser hacks, use [stylehacks](https://github.com/ben-eb/stylehacks) directly. diff --git a/lib/rules/no-indistinguishable-colors/README.md b/lib/rules/no-indistinguishable-colors/README.md index 4d432e80b7..2f51108d4a 100644 --- a/lib/rules/no-indistinguishable-colors/README.md +++ b/lib/rules/no-indistinguishable-colors/README.md @@ -10,7 +10,7 @@ a { color: black; background: #010101; } * Colors like these two */ ``` -This rule uses [css-colorguard](https://github.com/SlexAxton/css-colorguard), which itself uses [the CIEDE2000 algorithm](http://en.wikipedia.org/wiki/Color_difference#CIEDE2000) behind-the-scenes, to determine when colors are so close that they probably *should* be the same. +This rule uses [css-colorguard](https://github.com/SlexAxton/css-colorguard), which itself uses [the CIEDE2000 algorithm](https://en.wikipedia.org/wiki/Color_difference#CIEDE2000) behind-the-scenes, to determine when colors are so close that they probably *should* be the same. In CSS, nearly identical colors often occur because that color was guessed at or eye-dropped at different times, by different people, with different software, etc.; and the intent was always to use the same color, but unfortunately things didn't turn out that way. Instead of having 5 shades of pale light blue, for example, you probably wanted just one, diff --git a/lib/rules/no-invalid-double-slash-comments/README.md b/lib/rules/no-invalid-double-slash-comments/README.md index a9316230fc..99bc97418c 100644 --- a/lib/rules/no-invalid-double-slash-comments/README.md +++ b/lib/rules/no-invalid-double-slash-comments/README.md @@ -1,6 +1,6 @@ # no-invalid-double-slash-comments -Disallow double-slash comments (`//...`) which are not supported by CSS and [could lead to unexpected results](http://stackoverflow.com/a/20192639/130652). +Disallow double-slash comments (`//...`) which are not supported by CSS and [could lead to unexpected results](https://stackoverflow.com/a/20192639/130652). ```css a { // color: pink; } diff --git a/lib/rules/selector-max-compound-selectors/README.md b/lib/rules/selector-max-compound-selectors/README.md index ff26c5881b..e5d26b643d 100644 --- a/lib/rules/selector-max-compound-selectors/README.md +++ b/lib/rules/selector-max-compound-selectors/README.md @@ -9,7 +9,7 @@ Limit the number of compound selectors in a selector. Lv1 Lv2 Lv3 Lv4 Lv5 -- these are compound selectors */ ``` -A [compound selector](https://www.w3.org/TR/selectors4/#compound) is a chain of one or more simple (tag, class, id, universal, attribute) selectors. If there is more than one compound selector in a complete selector, they will be separated by combinators (e.g. ` `, `+`, `>`). One reason why you might want to limit the number of compound selectors is described in the [SMACSS book](http://smacss.com/book/applicability). +A [compound selector](https://www.w3.org/TR/selectors4/#compound) is a chain of one or more simple (tag, class, id, universal, attribute) selectors. If there is more than one compound selector in a complete selector, they will be separated by combinators (e.g. ` `, `+`, `>`). One reason why you might want to limit the number of compound selectors is described in the [SMACSS book](https://smacss.com/book/applicability). This rule resolves nested selectors before calculating the depth of a selector.