Skip to content

Commit 8f75961

Browse files
Avasamljharb
authored andcommitted
JSDoc: Mark createConfig's flatConfigName parameter as optional
1 parent 4592fd5 commit 8f75961

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ const jsxA11y = {
293293
/**
294294
* Given a ruleset and optionally a flat config name, generate a config.
295295
* @param {object} rules - ruleset for this config
296-
* @param {string} flatConfigName - name for the config if flat
296+
* @param {string} [flatConfigName] - name for the config if flat
297297
* @returns Config for this set of rules.
298298
*/
299299
const createConfig = (rules, flatConfigName) => ({

0 commit comments

Comments
 (0)