Skip to content

Commit

Permalink
fix: duplicated disabled rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jonataswalker committed Apr 8, 2022
1 parent a4e7ac6 commit aa6097c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-jwalker",
"version": "7.5.0",
"version": "7.5.1",
"description": "Shareable framework-agnostic ESLint config",
"author": "Jonatas Walker",
"homepage": "https://github.com/jonataswalker/eslint-config-jwalker",
Expand Down
17 changes: 0 additions & 17 deletions ts-for-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,19 @@ module.exports = {
'@typescript-eslint/ban-tslint-comment': 'error',
'@typescript-eslint/no-misused-promises': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
'@typescript-eslint/return-await': ['error', 'always'],
'no-void': ['error', { allowAsStatement: true }],

'@typescript-eslint/no-unnecessary-boolean-literal-compare': [
'error',
{ allowComparingNullableBooleansToTrue: false },
],

'@typescript-eslint/restrict-template-expressions': [
'error',
{
allowNumber: true,
allowBoolean: false,
allowAny: true,
allowNullish: false,
},
],

'@typescript-eslint/naming-convention': [
'error',
{
selector: 'default',
format: ['strictCamelCase'],
},
{
selector: 'function',
format: ['strictCamelCase', 'StrictPascalCase'],
Expand Down

0 comments on commit aa6097c

Please sign in to comment.