File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
tasks/website/src/linter/snapshots Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,11 @@ impl LintCommand {
107
107
pub struct BasicOptions {
108
108
/// Oxlint configuration file (experimental)
109
109
/// * only `.json` extension is supported
110
+ /// * you can use comments in configuration files.
110
111
/// * tries to be compatible with the ESLint v8's format
111
112
///
112
113
/// If not provided, Oxlint will look for `.oxlintrc.json` in the current working directory.
113
- #[ bpaf( long, short, argument( "./oxlintrc.json" ) ) ]
114
+ #[ bpaf( long, short, argument( "./. oxlintrc.json" ) ) ]
114
115
pub config : Option < PathBuf > ,
115
116
116
117
/// TypeScript `tsconfig.json` path for reading path alias and project references for import plugin
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ source: tasks/website/src/linter/cli.rs
3
3
expression : snapshot
4
4
-- -
5
5
## Usage
6
- ** ` oxlint` ** \[** ` -c` * *= _ ` <./oxlintrc.json>` _ \] \[_ ` PATH` _ \]...
6
+ ** ` oxlint` ** \[** ` -c` * *= _ ` <./. oxlintrc.json>` _ \] \[_ ` PATH` _ \]...
7
7
8
8
## Basic Configuration
9
- - ** ` -c` ** , ** ` --config` * *= _ ` <./oxlintrc.json>` _ & mdash ;
9
+ - ** ` -c` ** , ** ` --config` * *= _ ` <./. oxlintrc.json>` _ & mdash ;
10
10
Oxlint configuration file (experimental )
11
11
* only ` .json` extension is supported
12
+ * you can use comments in configuration files .
12
13
* tries to be compatible with the ESLint v8 ' s format
13
14
14
15
If not provided , Oxlint will look for ` .oxlintrc.json` in the current working directory .
Original file line number Diff line number Diff line change 2
2
source : tasks / website / src / linter / cli .rs
3
3
expression : snapshot
4
4
-- -
5
- Usage : [- c = < ./ oxlintrc .json > ] [PATH ]...
5
+ Usage : [- c = < ./ . oxlintrc .json > ] [PATH ]...
6
6
7
7
Basic Configuration
8
- - c , -- config = < ./ oxlintrc .json > Oxlint configuration file (experimental )
8
+ - c , -- config = < ./ . oxlintrc .json > Oxlint configuration file (experimental )
9
9
* only ` .json` extension is supported
10
+ * you can use comments in configuration files .
10
11
* tries to be compatible with the ESLint v8 ' s format
11
12
-- tsconfig = < ./ tsconfig .json > TypeScript ` tsconfig.json` path for reading path alias and
12
13
project references for import plugin
You can’t perform that action at this time.
0 commit comments