Skip to content

Commit

Permalink
Fix some broken links for ESLint docs (xojs#591)
Browse files Browse the repository at this point in the history
+Fix accidentally removed readme text (xojs#593)
  • Loading branch information
chalkygames123 authored and devinrhode2 committed Oct 8, 2021
1 parent 4f84f22 commit f2b174d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ module.exports = {
};
```

[Globals](https://eslint.org/docs/user-guide/configuring#specifying-globals) and [rules](https://eslint.org/docs/user-guide/configuring#configuring-rules) can be configured inline in files.
[Globals](https://eslint.org/docs/user-guide/configuring/language-options#specifying-globals) and [rules](https://eslint.org/docs/user-guide/configuring/rules#configuring-rules) can be configured inline in files.

### envs

Type: `string[]`\
Default: `['es2021', 'node']`

Which [environments](https://eslint.org/docs/user-guide/configuring#specifying-environments) your code is designed to run in. Each environment brings with it a certain set of predefined global variables.
Which [environments](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments) your code is designed to run in. Each environment brings with it a certain set of predefined global variables.

### globals

Expand All @@ -188,7 +188,7 @@ Additional global variables your code accesses during execution.

Type: `string[]`

Some [paths](lib/options-manager.js) are ignored by default, including paths in `.gitignore` and [.eslintignore](https://eslint.org/docs/user-guide/configuring#eslintignore). Additional ignores can be added here.
Some [paths](lib/options-manager.js) are ignored by default, including paths in `.gitignore` and [.eslintignore](https://eslint.org/docs/user-guide/configuring/ignoring-code#the-eslintignore-file). Additional ignores can be added here.

### space

Expand Down Expand Up @@ -245,13 +245,13 @@ If set to `false`, no rules specific to a Node.js version will be enabled.

Type: `string[]`

Include third-party [plugins](https://eslint.org/docs/user-guide/configuring.html#configuring-plugins).
Include third-party [plugins](https://eslint.org/docs/user-guide/configuring/plugins#configuring-plugins).

### extends

Type: `string | string[]`

Use one or more [shareable configs](https://eslint.org/docs/developer-guide/shareable-configs.html) or [plugin configs](https://eslint.org/docs/user-guide/configuring#using-the-configuration-from-a-plugin) to override any of the default rules (like `rules` above).
Use one or more [shareable configs](https://eslint.org/docs/developer-guide/shareable-configs) or [plugin configs](https://eslint.org/docs/user-guide/configuring/configuration-files#using-a-configuration-from-a-plugin) to override any of the default rules (like `rules` above).

### extensions

Expand All @@ -263,7 +263,7 @@ Allow more extensions to be linted besides `.js`, `.jsx`, `.mjs`, and `.cjs`. Ma

Type: `object`

[Shared ESLint settings](https://eslint.org/docs/user-guide/configuring#adding-shared-settings) exposed to rules.
[Shared ESLint settings](https://eslint.org/docs/user-guide/configuring/configuration-files#adding-shared-settings) exposed to rules.

### parser

Expand All @@ -275,7 +275,7 @@ ESLint parser. For example, [`@babel/eslint-parser`](https://github.com/babel/ba

Type: `string`

[ESLint processor.](https://eslint.org/docs/user-guide/configuring#specifying-processor)
[ESLint processor.](https://eslint.org/docs/user-guide/configuring/plugins#specifying-processor)

### webpack

Expand Down

0 comments on commit f2b174d

Please sign in to comment.