Skip to content

Commit

Permalink
build: remove disabled rules when TS equivalents are used
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Nov 23, 2023
1 parent 2de53f2 commit d3fdc4d
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions etc/eslint/rules/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2313,35 +2313,6 @@ rules[ 'quotes' ] = 'off';
*/
rules[ 'radix' ] = 'error';

/**
* Disables the requirement for `await` in `async` functions.
*
* @name require-await
* @memberof rules
* @type {string}
* @default 'off'
* @see [require-await]{@link https://eslint.org/docs/rules/require-await}
*/
rules[ 'require-await' ] = 'off';

/**
* Enforces semicolons at the end of each statement instead of reliance on ASI.
*
* @name semi
* @memberof rules
* @type {string}
* @default [ 'error', 'always' ]
* @see [semi]{@link https://eslint.org/docs/rules/semi}
*
* @example
* // Bad...
* const bad = 'no semicolon'
*
* // Good...
* const good = 'semicolon';
*/
rules[ 'semi' ] = [ 'error', 'always' ];

/**
* Enforces consistent spacing before function parentheses.
*
Expand Down

0 comments on commit d3fdc4d

Please sign in to comment.