Skip to content

Commit

Permalink
Formatted library with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
matux committed Feb 24, 2024
1 parent 8703f83 commit 8137907
Show file tree
Hide file tree
Showing 28 changed files with 555 additions and 541 deletions.
28 changes: 14 additions & 14 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,38 @@ extends:
- plugin:react-hooks/recommended
- plugin:jest/recommended
- plugin:jest-dom/recommended
parser: "@babel/eslint-parser"
parser: '@babel/eslint-parser'
plugins:
- "@babel"
- '@babel'
- jest
- react
- react-hooks
- testing-library
overrides:
- files:
- "**/__tests__/**/*.[jt]s?(x)"
- "**/?(*.)+(spec|test).[jt]s?(x)"
- '**/__tests__/**/*.[jt]s?(x)'
- '**/?(*.)+(spec|test).[jt]s?(x)'
extends:
- "plugin:testing-library/react"
- 'plugin:testing-library/react'
- files:
- "**/*.ts?(x)"
parser: "@typescript-eslint/parser"
- '**/*.ts?(x)'
parser: '@typescript-eslint/parser'
parserOptions:
tsconfigRootDir: .
project: ['./tsconfig.json']
tsconfigRootDir: .
project: ['./tsconfig.json']
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
rules:
"@typescript-eslint/no-unused-vars":
'@typescript-eslint/no-unused-vars':
- error
- varsIgnorePattern: "^_"
argsIgnorePattern: "^_"
- varsIgnorePattern: '^_'
argsIgnorePattern: '^_'
# For compat with jest: https://typescript-eslint.io/rules/unbound-method/
"@typescript-eslint/unbound-method": "off"
"jest/unbound-method": "error"
'@typescript-eslint/unbound-method': 'off'
'jest/unbound-method': 'error'
rules:
quotes:
- error
Expand Down
Loading

0 comments on commit 8137907

Please sign in to comment.