Skip to content

Commit 0f335c7

Browse files
committed
Simplify eslint config
1 parent f532609 commit 0f335c7

File tree

4 files changed

+0
-521
lines changed

4 files changed

+0
-521
lines changed

packages/eslint-config-custom/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,18 @@ module.exports = {
44
extends: [
55
'turbo',
66
'plugin:@typescript-eslint/recommended',
7-
'xo',
8-
'plugin:unicorn/recommended',
97
'plugin:prettier/recommended',
108
],
119
plugins: ['@typescript-eslint', 'prettier'],
1210
rules: {
1311
'no-new': 'off',
1412
complexity: 'off',
1513
camelcase: 'off',
16-
'no-unused-vars': 'off',
1714
'no-warning-comments': 'off',
1815
'prettier/prettier': 'error',
1916
'@typescript-eslint/no-explicit-any': 'error',
2017
'@typescript-eslint/ban-ts-comment': 'warn',
2118
'@typescript-eslint/no-empty-function': 'off',
22-
'unicorn/prevent-abbreviations': 'off',
23-
'unicorn/no-null': 'off',
24-
'unicorn/filename-case': 'off',
25-
'unicorn/explicit-length-check': 'off',
26-
'unicorn/prefer-ternary': 'off',
2719
'capitalized-comments': 'off',
2820
},
2921
ignorePatterns: ['eslint-config-custom', 'demo', 'dist', 'node_modules'],

packages/eslint-config-custom/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
"eslint": "^8.29.0",
1515
"eslint-config-prettier": "^8.5.0",
1616
"eslint-config-turbo": "latest",
17-
"eslint-config-xo": "^0.43.1",
1817
"eslint-plugin-prettier": "^4.2.1",
19-
"eslint-plugin-unicorn": "^45.0.1",
2018
"prettier": "^2.8.1"
2119
},
2220
"devDependencies": {

packages/server/src/validators/RequestValidator.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable unicorn/prefer-number-properties */
21
import {HEADERS_LOWERCASE, TUS_VERSION, TUS_RESUMABLE} from '../constants'
32

43
export const RequestValidator = {

0 commit comments

Comments
 (0)