Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit 505692e

Browse files
authored
docs: Update docs to reflect the new repository home
* docs: Update docs to reflect the new repository home at https://github.com/WordPress-Coding-Standards * chore: Update changelog noting repo location change
1 parent d49fd1c commit 505692e

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# HEAD
2+
3+
- Changed: Relocated repo to https://github.com/WordPress-Coding-Standards
4+
15
# 10.0.2
26

37
- Added: Added `import` to `ignoreAtRules` option in `at-rule-empty-line-before` rule for SCSS config.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# stylelint-config-wordpress
2-
[![NPM version](http://img.shields.io/npm/v/stylelint-config-wordpress.svg)](https://www.npmjs.org/package/stylelint-config-wordpress) [![Build Status](https://api.travis-ci.org/ntwb/stylelint-config-wordpress.svg?branch=master)](https://travis-ci.org/ntwb/stylelint-config-wordpress) [![Build status](https://ci.appveyor.com/api/projects/status/e5bv7cgn83ci69lo?svg=true)](https://ci.appveyor.com/project/ntwb/stylelint-config-wordpress)
2+
[![NPM version](http://img.shields.io/npm/v/stylelint-config-wordpress.svg)](https://www.npmjs.org/package/stylelint-config-wordpress) [![Build Status](https://api.travis-ci.org/WordPress-Coding-Standards/stylelint-config-wordpress.svg?branch=master)](https://travis-ci.org/WordPress-Coding-Standards/stylelint-config-wordpress) [![Build status](https://ci.appveyor.com/api/projects/status/e5bv7cgn83ci69lo?svg=true)](https://ci.appveyor.com/project/WordPress-Coding-Standards/stylelint-config-wordpress)
33

44
> WordPress shareable config for stylelint.
55
@@ -81,7 +81,7 @@ For example, to change the `indentation` to four spaces and turn off the `number
8181

8282
## Style Guide
8383

84-
### Structure - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#structure) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/structure.js)
84+
### Structure - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#structure) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/structure.js)
8585

8686
There are plenty of different methods for structuring a stylesheet. With the CSS in core, it is important to retain a high degree of legibility. This enables subsequent contributors to have a clear understanding of the flow of the document.
8787

@@ -114,7 +114,7 @@ Incorrect:
114114
#selector-1 { background: #fff; color: #000; }
115115
```
116116

117-
### Selectors - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#selectors) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/selectors.js)
117+
### Selectors - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#selectors) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/selectors.js)
118118

119119
With specificity, comes great responsibility. Broad selectors allow us to be efficient, yet can have adverse consequences if not tested. Location-specific selectors can save us time, but will quickly lead to a cluttered stylesheet. Exercise your best judgement to create selectors that find the right balance between contributing to the overall style and layout of the DOM.
120120

@@ -156,7 +156,7 @@ input[type=text] { /* Should be [type="text"] */
156156
}
157157
```
158158

159-
### Properties - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#properties) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/properties.js)
159+
### Properties - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#properties) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/properties.js)
160160

161161
Similar to selectors, properties that are too specific will hinder the flexibility of the design. Less is more. Make sure you are not repeating styling or introducing fixed dimensions (when a fluid solution is more acceptable).
162162

@@ -224,7 +224,7 @@ Example:
224224
}
225225
```
226226

227-
### Vendor Prefixes - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#vendor-prefixes) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/vendor-prefixes.js)
227+
### Vendor Prefixes - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#vendor-prefixes) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/vendor-prefixes.js)
228228

229229
Updated on 2/13/2014, after [27174](https://core.trac.wordpress.org/changeset/27174):
230230

@@ -238,7 +238,7 @@ We use [Autoprefixer](https://github.com/nDmitry/grunt-autoprefixer) as a pre-co
238238
}
239239
```
240240

241-
### Values - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#values) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/values.js)
241+
### Values - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#values) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/values.js)
242242

243243
There are numerous ways to input values for properties. Follow the guidelines below to help us retain a high degree of consistency.
244244

@@ -282,7 +282,7 @@ Incorrect:
282282
}
283283
```
284284

285-
### Media Queries - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#media-queries) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/media-queries.js)
285+
### Media Queries - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#media-queries) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/media-queries.js)
286286

287287
Media queries allow us to gracefully degrade the DOM for different screen sizes. If you are adding any, be sure to test above and below the break-point you are targeting.
288288

@@ -338,7 +338,7 @@ Incorrect:
338338
projection and (color) {}
339339
```
340340

341-
### Commenting - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#commenting) / [Tests](https://github.com/ntwb/stylelint-config-wordpress/blob/master/__tests__/commenting.js)
341+
### Commenting - [Handbook](https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#commenting) / [Tests](https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/blob/master/__tests__/commenting.js)
342342

343343
- Comment, and comment liberally. If there are concerns about file size, utilize minified files and the `SCRIPT_DEBUG` constant. Long comments should manually break the line length at 80 characters.
344344
- A table of contents should be utilized for longer stylesheets, especially those that are highly sectioned. Using an index number (1.0, 1.1, 2.0, etc.) aids in searching and jumping to a location.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"license": "MIT",
2121
"repository": {
2222
"type": "git",
23-
"url": "https://github.com/ntwb/stylelint-config-wordpress.git"
23+
"url": "https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress.git"
2424
},
25-
"homepage": "https://github.com/ntwb/stylelint-config-wordpress",
26-
"bugs": "https://github.com/ntwb/stylelint-config-wordpress/issues",
25+
"homepage": "https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress",
26+
"bugs": "https://github.com/WordPress-Coding-Standards/stylelint-config-wordpress/issues",
2727
"main": "index.js",
2828
"files": [
2929
"CHANGELOG.md",

0 commit comments

Comments
 (0)