Skip to content

Commit

Permalink
Sorting unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadanand Pai committed Oct 3, 2023
1 parent 380959d commit 4ccdb3e
Show file tree
Hide file tree
Showing 5 changed files with 296 additions and 139 deletions.
26 changes: 19 additions & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,26 @@
module.exports = {
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'prettier',
],
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
plugins: ["react-refresh"],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh', 'unused-imports'],
rules: {
"react-refresh/only-export-components": "warn",
'react-refresh/only-export-components': 'warn',
'@typescript-eslint/no-unused-vars': [
'error',
{
vars: 'all',
args: 'after-used',
ignoreRestSiblings: false,
varsIgnorePattern: '_*',
argsIgnorePattern: '_*',
},
],
'unused-imports/no-unused-imports': 'warn',
},
};
Loading

0 comments on commit 4ccdb3e

Please sign in to comment.