File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
define-config/__snapshots__ Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,7 @@ exports[`is a valid Oxlint config 1`] = `
467467 " unicorn/consistent-empty-array-spread" : " error" ,
468468 " unicorn/consistent-existence-index-check" : " error" ,
469469 " unicorn/consistent-function-scoping" : " error" ,
470+ " unicorn/custom-error-definition" : " error" ,
470471 " unicorn/empty-brace-spaces" : " error" ,
471472 " unicorn/error-message" : " error" ,
472473 " unicorn/escape-case" : " error" ,
Original file line number Diff line number Diff line change @@ -367,6 +367,7 @@ const config: LinterConfigEntry = {
367367 'unicorn/consistent-empty-array-spread' : 'error' ,
368368 'unicorn/consistent-existence-index-check' : 'error' ,
369369 'unicorn/consistent-function-scoping' : 'error' ,
370+ 'unicorn/custom-error-definition' : 'error' ,
370371 'unicorn/empty-brace-spaces' : 'error' ,
371372 'unicorn/error-message' : 'error' ,
372373 'unicorn/escape-case' : 'error' ,
Original file line number Diff line number Diff line change @@ -633,6 +633,7 @@ exports[`defines a valid Oxlint config 1`] = `
633633 " unicorn/consistent-empty-array-spread" : " error" ,
634634 " unicorn/consistent-existence-index-check" : " error" ,
635635 " unicorn/consistent-function-scoping" : " error" ,
636+ " unicorn/custom-error-definition" : " error" ,
636637 " unicorn/empty-brace-spaces" : " error" ,
637638 " unicorn/error-message" : " error" ,
638639 " unicorn/escape-case" : " error" ,
@@ -1540,6 +1541,7 @@ exports[`supports the \`react\` option 1`] = `
15401541 " unicorn/consistent-empty-array-spread" : " error" ,
15411542 " unicorn/consistent-existence-index-check" : " error" ,
15421543 " unicorn/consistent-function-scoping" : " error" ,
1544+ " unicorn/custom-error-definition" : " error" ,
15431545 " unicorn/empty-brace-spaces" : " error" ,
15441546 " unicorn/error-message" : " error" ,
15451547 " unicorn/escape-case" : " error" ,
You can’t perform that action at this time.
0 commit comments