Skip to content

Commit

Permalink
eslint perf
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Jun 10, 2022
1 parent b361b13 commit dbb9cc8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module.exports = {
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:prettier/recommended',
'plugin:testing-library/dom',
'plugin:jest-dom/recommended',
'plugin:@next/next/recommended',
Expand Down Expand Up @@ -61,30 +60,14 @@ module.exports = {
ignoreCase: true,
},
],
'import/order': [
'error',
{
groups: [
'builtin',
'external',
'internal',
'parent',
'sibling',
'index',
],
'newlines-between': 'always',
alphabetize: {
order: 'asc',
caseInsensitive: true,
},
},
],
'@typescript-eslint/no-unused-vars': [
'error',
{
varsIgnorePattern: '_',
},
],
'import/order': 'off',
'no-mixed-spaces-and-tabs': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'testing-library/prefer-screen-queries': 'off',
'testing-library/await-async-utils': 'off',
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ npm run graphql:codegen
```

Compiles to `src/lib/generated/graphql.ts`

## Eslint

Debugging commands:

```bash
DEBUG=eslint:cli-engine npm run lint
TIMING=1 npm run lint
```

0 comments on commit dbb9cc8

Please sign in to comment.