Skip to content

Commit 4358c75

Browse files
committed
Fix all paths to docs
1 parent 46a332f commit 4358c75

File tree

147 files changed

+180
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+180
-164
lines changed

CHANGELOG.md

+20-19
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
<!-- markdownlint-disable MD024 -->
22
# Changelog
33

4-
All notable changes to this project will be documented in this file.
4+
All notable changes to this project will be documented in this file.
55

6-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10-
## [v0.1.4] — 2023–05–20
10+
## [0.1.5] — 2023–07–01
1111

12-
### Changed
12+
### Fixed
1313

14-
- Set up a chain of publishing scripts instead of using the `np` package.
15-
- Replaced `npm` lockfile with `pnpm` lockfile.
16-
- Reorganized `package.json`.
14+
- All paths to docs.
1715

18-
### Updated
16+
## [0.1.4] — 2023–05–20
1917

20-
- Dependencies.
18+
### Changed
19+
20+
- Reorganized `package.json`.
2121

22-
## [v0.1.3] — 2023–03–28
22+
## [0.1.3] — 2023–03–28
2323

2424
### Removed
2525

2626
- The `deprecated` flag from the `meta` of each rule.
2727

28-
## [v0.1.2] — 2023–03–28
28+
## [0.1.2] — 2023–03–28
2929

3030
### Fixed
3131

3232
- `Error [ERR_REQUIRE_ESM]: require() of ES Module`.
3333

34-
## [v0.1.1] — 2023–03–28
34+
## [0.1.1] — 2023–03–28
3535

3636
### Added
3737

3838
- `babel` until stylelint is converted to es-modules.
3939

40-
## [v0.1.0] — 2023–03–28
40+
## [0.1.0] — 2023–03–28
4141

4242
### Added
4343

@@ -118,9 +118,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
118118
- `value-list-comma-space-before` rule.
119119
- `value-list-max-empty-lines` rule.
120120

121-
[Unreleased]: https://github.com/firefoxic/gulp-stacksvg/compare/v0.1.4...HEAD
122-
[v0.1.4]: https://github.com/firefoxic/gulp-stacksvg/releases/tag/v0.1.4
123-
[v0.1.3]: https://github.com/firefoxic/gulp-stacksvg/releases/tag/v0.1.3
124-
[v0.1.2]: https://github.com/firefoxic/gulp-stacksvg/releases/tag/v0.1.2
125-
[v0.1.1]: https://github.com/firefoxic/gulp-stacksvg/releases/tag/v0.1.1
126-
[v0.1.0]: https://github.com/firefoxic/gulp-stacksvg/releases/tag/v0.1.0
121+
[Unreleased]: https://github.com/firefoxic/stylelint-codeguide/compare/v0.1.5...HEAD
122+
[0.1.5]: https://github.com/firefoxic/stylelint-codeguide/compare/v0.1.4...v0.1.5
123+
[0.1.4]: https://github.com/firefoxic/stylelint-codeguide/compare/v0.1.3...v0.1.4
124+
[0.1.3]: https://github.com/firefoxic/stylelint-codeguide/compare/v0.1.2...v0.1.3
125+
[0.1.2]: https://github.com/firefoxic/stylelint-codeguide/compare/v0.1.1...v0.1.2
126+
[0.1.1]: https://github.com/firefoxic/stylelint-codeguide/compare/v0.1.0...v0.1.1
127+
[0.1.0]: https://github.com/firefoxic/stylelint-codeguide/releases/tag/v0.1.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This plugin was based (it seems that the word “fork” is not very suitable he
1717

1818
stylelint-codeguide returns these rules to keep styles consistent with your codeguide. In addition, new rules may be added in the future.
1919

20-
The plugin follows Stylelint's guidelines (about [rule names](https://stylelint.io/user-guide/about-rules), testing and [so on](https://github.com/stylelint/stylelint/tree/master/docs/developer-guide)).
20+
The plugin follows [Stylelint's guidelines](https://stylelint.io/developer-guide/rules).
2121

2222
## Installation and usage
2323

docs/index.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# stylelint-codeguide docs
2+
3+
## User guide
4+
5+
- [Rules](./user-guide/rules.md)
6+
7+
## Developer guide
8+
9+
- [Rules](./developer-guide/rules.md)
10+
11+
## Мaintainer guide
12+
13+
- [Issues](./maintainer-guide/issues.md)
14+
- [Pull requests](./maintainer-guide/pull-requests.md)
15+
- [Releases](./maintainer-guide/releases.md)

lib/rules/at-rule-name-case/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Specify lowercase or uppercase for at-rules names.
1010

1111
Only lowercase at-rule names are valid in SCSS.
1212

13-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule.
13+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix some of the problems reported by this rule.
1414

1515
## Options
1616

lib/rules/at-rule-name-case/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const messages = ruleMessages(ruleName, {
1010
})
1111

1212
export const meta = {
13-
url: `https://stylelint.io/user-guide/rules/at-rule-name-case`,
13+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/at-rule-name-case/README.md`,
1414
fixable: true
1515
}
1616

lib/rules/at-rule-name-newline-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const messages = ruleMessages(ruleName, {
1010
})
1111

1212
export const meta = {
13-
url: `https://stylelint.io/user-guide/rules/at-rule-name-newline-after`
13+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/at-rule-name-newline-after/README.md`
1414
}
1515

1616
/** @type {import('stylelint').Rule} */

lib/rules/at-rule-name-space-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Require a single space after at-rule names.
88
* The space after at-rule names */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/at-rule-name-space-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const messages = ruleMessages(ruleName, {
1010
})
1111

1212
export const meta = {
13-
url: `https://stylelint.io/user-guide/rules/at-rule-name-space-after`,
13+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/at-rule-name-space-after/README.md`,
1414
fixable: true
1515
}
1616

lib/rules/at-rule-semicolon-newline-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This rule allows an end-of-line comment followed by a newline. For example:
1717
a {}
1818
```
1919

20-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
20+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
2121

2222
## Options
2323

lib/rules/at-rule-semicolon-newline-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const messages = ruleMessages(ruleName, {
1414
})
1515

1616
export const meta = {
17-
url: `https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after`,
17+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/at-rule-semicolon-newline-after/README.md`,
1818
fixable: true
1919
}
2020

lib/rules/at-rule-semicolon-space-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const messages = ruleMessages(ruleName, {
1414
})
1515

1616
export const meta = {
17-
url: `https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before`
17+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/at-rule-semicolon-space-before/README.md`
1818
}
1919

2020
/** @type {import('stylelint').Rule} */

lib/rules/block-closing-brace-empty-line-before/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ a {
1111
* This line */
1212
```
1313

14-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
14+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1515

1616
## Options
1717

lib/rules/block-closing-brace-empty-line-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const messages = ruleMessages(ruleName, {
1818
})
1919

2020
export const meta = {
21-
url: `https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before`,
21+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-closing-brace-empty-line-before/README.md`,
2222
fixable: true
2323
}
2424

lib/rules/block-closing-brace-newline-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This rule allows a trailing semicolon after the closing brace of a block. For ex
2929
}
3030
```
3131

32-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
32+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
3333

3434
## Options
3535

lib/rules/block-closing-brace-newline-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const messages = ruleMessages(ruleName, {
1919
})
2020

2121
export const meta = {
22-
url: `https://stylelint.io/user-guide/rules/block-closing-brace-newline-after`,
22+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-closing-brace-newline-after/README.md`,
2323
fixable: true
2424
}
2525

lib/rules/block-closing-brace-newline-before/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Require a newline or disallow whitespace before the closing brace of blocks.
99
* The newline before this brace */
1010
```
1111

12-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
12+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1313

1414
## Options
1515

lib/rules/block-closing-brace-newline-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const messages = ruleMessages(ruleName, {
1515
})
1616

1717
export const meta = {
18-
url: `https://stylelint.io/user-guide/rules/block-closing-brace-newline-before`,
18+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-closing-brace-newline-before/README.md`,
1919
fixable: true
2020
}
2121

lib/rules/block-closing-brace-space-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const messages = ruleMessages(ruleName, {
1818
})
1919

2020
export const meta = {
21-
url: `https://stylelint.io/user-guide/rules/block-closing-brace-space-after`
21+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-closing-brace-space-after/README.md`
2222
}
2323

2424
/** @type {import('stylelint').Rule} */

lib/rules/block-closing-brace-space-before/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a { color: pink; }
88
* The space before this brace */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/block-closing-brace-space-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const messages = ruleMessages(ruleName, {
1818
})
1919

2020
export const meta = {
21-
url: `https://stylelint.io/user-guide/rules/block-closing-brace-space-before`,
21+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-closing-brace-space-before/README.md`,
2222
fixable: true
2323
}
2424

lib/rules/block-opening-brace-newline-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ a { /* end-of-line comment */
1717
}
1818
```
1919

20-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
20+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
2121

2222
## Options
2323

lib/rules/block-opening-brace-newline-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const messages = ruleMessages(ruleName, {
1818
})
1919

2020
export const meta = {
21-
url: `https://stylelint.io/user-guide/rules/block-opening-brace-newline-after`,
21+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-opening-brace-newline-after/README.md`,
2222
fixable: true
2323
}
2424

lib/rules/block-opening-brace-newline-before/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Require a newline or disallow whitespace before the opening brace of blocks.
99
* The newline before this brace */
1010
```
1111

12-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
12+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1313

1414
## Options
1515

lib/rules/block-opening-brace-newline-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const messages = ruleMessages(ruleName, {
1818
})
1919

2020
export const meta = {
21-
url: `https://stylelint.io/user-guide/rules/block-opening-brace-newline-before`,
21+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-opening-brace-newline-before/README.md`,
2222
fixable: true
2323
}
2424

lib/rules/block-opening-brace-space-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Require a single space or disallow whitespace after the opening brace of blocks.
88
* The space after this brace */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/block-opening-brace-space-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const messages = ruleMessages(ruleName, {
2020
})
2121

2222
export const meta = {
23-
url: `https://stylelint.io/user-guide/rules/block-opening-brace-space-after`,
23+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-opening-brace-space-after/README.md`,
2424
fixable: true
2525
}
2626

lib/rules/block-opening-brace-space-before/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Require a single space or disallow whitespace before the opening brace of blocks
88
* The space before this brace */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/block-opening-brace-space-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const messages = ruleMessages(ruleName, {
2121
})
2222

2323
export const meta = {
24-
url: `https://stylelint.io/user-guide/rules/block-opening-brace-space-before`,
24+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/block-opening-brace-space-before/README.md`,
2525
fixable: true
2626
}
2727

lib/rules/color-hex-case/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a { color: #fff }
88
* This hex color */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/color-hex-case/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const messages = ruleMessages(ruleName, {
1414
})
1515

1616
export const meta = {
17-
url: `https://stylelint.io/user-guide/rules/color-hex-case`,
17+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/color-hex-case/README.md`,
1818
fixable: true
1919
}
2020

lib/rules/declaration-bang-space-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a { color: pink !important; }
88
* The space after this exclamation mark */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/declaration-bang-space-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const messages = ruleMessages(ruleName, {
1414
})
1515

1616
export const meta = {
17-
url: `https://stylelint.io/user-guide/rules/declaration-bang-space-after`,
17+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/declaration-bang-space-after/README.md`,
1818
fixable: true
1919
}
2020

lib/rules/declaration-bang-space-before/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a { color: pink !important; }
88
* The space before this exclamation mark */
99
```
1010

11-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
11+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
1212

1313
## Options
1414

lib/rules/declaration-bang-space-before/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const messages = ruleMessages(ruleName, {
1414
})
1515

1616
export const meta = {
17-
url: `https://stylelint.io/user-guide/rules/declaration-bang-space-before`,
17+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/declaration-bang-space-before/README.md`,
1818
fixable: true
1919
}
2020

lib/rules/declaration-block-semicolon-newline-after/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ a {
2727
}
2828
```
2929

30-
The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule.
30+
The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
3131

3232
## Options
3333

lib/rules/declaration-block-semicolon-newline-after/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const messages = ruleMessages(ruleName, {
1616
})
1717

1818
export const meta = {
19-
url: `https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after`,
19+
url: `https://github.com/firefoxic/stylelint-codeguide/blob/main/lib/rules/declaration-block-semicolon-newline-after/README.md`,
2020
fixable: true
2121
}
2222

0 commit comments

Comments
 (0)