This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ import type { RuleConfig } from '../rule-config';
3
3
/**
4
4
* Option.
5
5
*/
6
- export type NewParensOption = [ ] | [ 'always' | 'never' ] ;
6
+ export type NewParensOption = 'always' | 'never' ;
7
7
8
8
/**
9
9
* Options.
10
10
*/
11
- export type NewParensOptions = NewParensOption ;
11
+ export type NewParensOptions = [ NewParensOption ? ] ;
12
12
13
13
/**
14
14
* Enforce or disallow parentheses when invoking a constructor with no arguments.
Original file line number Diff line number Diff line change 1
1
import type { RuleConfig } from '../rule-config' ;
2
2
3
3
/**
4
- * Disallow division operators explicitly at the beginning of regular expressions.
4
+ * Disallow equal signs explicitly at the beginning of regular expressions.
5
5
*
6
6
* @see [no-div-regex](https://eslint.org/docs/rules/no-div-regex)
7
7
*/
8
8
export type NoDivRegexRuleConfig = RuleConfig < [ ] > ;
9
9
10
10
/**
11
- * Disallow division operators explicitly at the beginning of regular expressions.
11
+ * Disallow equal signs explicitly at the beginning of regular expressions.
12
12
*
13
13
* @see [no-div-regex](https://eslint.org/docs/rules/no-div-regex)
14
14
*/
15
15
export interface NoDivRegexRule {
16
16
/**
17
- * Disallow division operators explicitly at the beginning of regular expressions.
17
+ * Disallow equal signs explicitly at the beginning of regular expressions.
18
18
*
19
19
* @see [no-div-regex](https://eslint.org/docs/rules/no-div-regex)
20
20
*/
You can’t perform that action at this time.
0 commit comments