You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -117,56 +117,49 @@ Specify extensions that should be checked.
117
117
118
118
Path to `eslint` instance that will be used for linting.
119
119
120
-
#### `emitError`
120
+
###`formatter`
121
121
122
-
- Type: `Boolean`
123
-
- Default: `true`
122
+
- Type: `String|Function`
123
+
- Default: `'stylish'`
124
124
125
-
The errors found will be printed.
125
+
Accepts a function that will have one argument: an array of eslint messages (object).
126
+
The function must return the output as a string.
127
+
You can use official [eslint formatters](https://eslint.org/docs/user-guide/formatters/).
126
128
127
-
#### `emitWarning`
129
+
###`lintOnStart`
128
130
129
131
- Type: `Boolean`
130
132
- Default: `true`
131
133
132
-
The warnings found will be printed.
134
+
Check all matching files on project startup, too slow, turn on discreetly.
133
135
134
-
#### `failOnWarning`
136
+
###`emitWarning`
135
137
136
138
- Type: `Boolean`
137
-
- Default: `false`
139
+
- Default: `true`
138
140
139
-
Will cause the module build to fail if there are any warnings, based on `emitWarning`.
141
+
The warnings found will be printed.
140
142
141
-
#### `failOnError`
143
+
###`emitError`
142
144
143
145
- Type: `Boolean`
144
-
- Default: `false`
146
+
- Default: `true`
145
147
146
-
Will cause the module build to fail if there are any errors, based on `emitError`.
148
+
The errors found will be printed.
147
149
148
-
### `fix`
150
+
### `failOnWarning`
149
151
150
152
- Type: `Boolean`
151
153
- Default: `false`
152
154
153
-
Auto fix source code.
154
-
155
-
**Be careful: this option will change source files.**
156
-
157
-
### `formatter`
158
-
159
-
- Type: `String|Function`
160
-
- Default: `'stylish'`
161
-
162
-
Accepts a function that will have one argument: an array of eslint messages (object). The function must return the output as a string. You can use official [eslint formatters](https://eslint.org/docs/user-guide/formatters/).
155
+
Will cause the module build to fail if there are any warnings, based on `emitWarning`.
163
156
164
-
### `lintOnStart`
157
+
### `failOnError`
165
158
166
159
- Type: `Boolean`
167
-
- Default: `true`
160
+
- Default: `false`
168
161
169
-
Check all matching files on project startup, too slow, turn on discreetly.
162
+
Will cause the module build to fail if there are any errors, based on `emitError`.
0 commit comments