Skip to content

Commit 1c87b41

Browse files
author
Jenkins
committed
9.18.0
1 parent 4df3132 commit 1c87b41

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docs-eslint",
33
"private": true,
4-
"version": "9.17.0",
4+
"version": "9.18.0",
55
"description": "",
66
"main": "index.js",
77
"keywords": [],

docs/src/_data/rules.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
},
558558
{
559559
"name": "default-case-last",
560-
"description": "Enforce `default` clauses in switch statements to be last",
560+
"description": "Enforce `default` clauses in `switch` statements to be last",
561561
"recommended": false,
562562
"fixable": false,
563563
"frozen": false,
@@ -1517,7 +1517,7 @@
15171517
},
15181518
{
15191519
"name": "sort-imports",
1520-
"description": "Enforce sorted import declarations within modules",
1520+
"description": "Enforce sorted `import` declarations within modules",
15211521
"recommended": false,
15221522
"fixable": true,
15231523
"frozen": true,

docs/src/_data/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"path": "/docs/head/"
77
},
88
{
9-
"version": "9.17.0",
9+
"version": "9.18.0",
1010
"branch": "latest",
1111
"path": "/docs/latest/"
1212
},

docs/src/use/formatters/html-formatter-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<div id="overview" class="bg-2">
119119
<h1>ESLint Report</h1>
120120
<div>
121-
<span>8 problems (4 errors, 4 warnings)</span> - Generated on Fri Dec 13 2024 21:28:30 GMT+0000 (Coordinated Universal Time)
121+
<span>8 problems (4 errors, 4 warnings)</span> - Generated on Fri Jan 10 2025 21:45:11 GMT+0000 (Coordinated Universal Time)
122122
</div>
123123
</div>
124124
<table>

docs/src/use/formatters/index.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ eleventyNavigation:
88
edit_link: https://github.com/eslint/eslint/edit/main/templates/formatter-examples.md.ejs
99
---
1010

11-
{%- from 'components/npx_tabs.macro.html' import npx_tabs %}
12-
1311
ESLint comes with several built-in formatters to control the appearance of the linting results, and supports third-party formatters as well.
1412

1513
You can specify a formatter using the `--format` or `-f` flag in the CLI. For example, `--format json` uses the `json` formatter.
@@ -54,10 +52,9 @@ function addOne(i) {
5452

5553
Tests the formatters with the CLI:
5654

57-
{{ npx_tabs({
58-
package: "eslint",
59-
args: ["--format", "<Add formatter here>", "fullOfProblems.js"]
60-
}) }}
55+
```shell
56+
npx eslint --format <Add formatter here> fullOfProblems.js
57+
```
6158

6259
## Built-In Formatter Options
6360

@@ -268,6 +265,7 @@ Example output (formatted for easier reading):
268265
"docs": {
269266
"description": "Disallow `else` blocks after `return` statements in `if` statements",
270267
"recommended": false,
268+
"frozen": true,
271269
"url": "https://eslint.org/docs/latest/rules/no-else-return"
272270
},
273271
"schema": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint",
3-
"version": "9.17.0",
3+
"version": "9.18.0",
44
"author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
55
"description": "An AST-based pattern checker for JavaScript.",
66
"type": "commonjs",

0 commit comments

Comments
 (0)