Skip to content

Commit aa87329

Browse files
authored
Docs: fix broken links (#14756)
* Docs: remove superfluous whitespace * Docs: update links
1 parent 278813a commit aa87329

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/developer-guide/working-with-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The source file for a rule exports an object with the following properties.
6666

6767
In a custom rule or plugin, you can omit `docs` or include any properties that you need in it.
6868

69-
* `fixable` (string) is either `"code"` or `"whitespace"` if the `--fix` option on the [command line](../user-guide/command-line-interface.md#-fix) automatically fixes problems reported by the rule
69+
* `fixable` (string) is either `"code"` or `"whitespace"` if the `--fix` option on the [command line](../user-guide/command-line-interface.md#--fix) automatically fixes problems reported by the rule
7070

7171
**Important:** the `fixable` property is mandatory for fixable rules. If this property isn't specified, ESLint will throw an error whenever the rule attempts to produce a fix. Omit the `fixable` property if the rule is not fixable.
7272

docs/rules/no-inner-declarations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# disallow variable or `function` declarations in nested blocks (no-inner-declarations)
1+
# disallow variable or `function` declarations in nested blocks (no-inner-declarations)
22

33
In JavaScript, prior to ES6, a function declaration is only allowed in the first level of a program or the body of another function, though parsers sometimes [erroneously accept them elsewhere](https://code.google.com/p/esprima/issues/detail?id=422). This only applies to function declarations; named or anonymous function expressions can occur anywhere an expression is permitted.
44

docs/user-guide/configuring/configuration-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The second way to use configuration files is to save the file wherever you would
3737

3838
eslint -c myconfig.json myfiletotest.js
3939

40-
If you are using one configuration file and want ESLint to ignore any `.eslintrc.*` files, make sure to use [`--no-eslintrc`](https://eslint.org/docs/user-guide/command-line-interface#-no-eslintrc) along with the [`-c`](https://eslint.org/docs/user-guide/command-line-interface#-c-config) flag.
40+
If you are using one configuration file and want ESLint to ignore any `.eslintrc.*` files, make sure to use [`--no-eslintrc`](https://eslint.org/docs/user-guide/command-line-interface#--no-eslintrc) along with the [`-c`](https://eslint.org/docs/user-guide/command-line-interface#-c---config) flag.
4141

4242
### Comments in configuration files
4343

0 commit comments

Comments
 (0)