Skip to content

Commit 0b43ca4

Browse files
committed
Reverse changes as local was no up to date on eslint version
1 parent 688ab2d commit 0b43ca4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.eslintrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ module.exports = {
2222
plugins: ['jsdoc', '@typescript-eslint', 'prettier', 'jest'],
2323
rules: {
2424
'no-dupe-class-members': 'off', // Off due to conflict with typescript overload functions
25-
'prettier/prettier': [
26-
'error',
27-
{},
28-
{ usePrettierrc: true, endOfLine: 'auto' },
29-
],
25+
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
3026
'@typescript-eslint/array-type': ['warn', { default: 'array-simple' }],
3127
'@typescript-eslint/return-await': 'off',
3228
'jsdoc/check-alignment': 'error',

src/errors/meilisearch-api-error.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as Types from '../types'
22

3-
const MeiliSearchApiError: Types.MSApiErrorConstructor = class extends Error
3+
const MeiliSearchApiError: Types.MSApiErrorConstructor = class
4+
extends Error
45
implements Types.MSApiError {
56
httpStatus: number
67
response?: Types.MeiliSearchApiErrorResponse

0 commit comments

Comments
 (0)