-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8806d2f
commit 81aece3
Showing
125 changed files
with
955 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,68 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
browser: true, | ||
jest: true, | ||
}, | ||
ignorePatterns: [ | ||
'build/', | ||
'node_modules/', | ||
'.pnp.cjs', | ||
'.pnp.loader.cjs', | ||
'public/', | ||
], | ||
extends: [ | ||
'plugin:react/recommended', | ||
'airbnb', | ||
'eslint:recommended', | ||
'plugin:react-hooks/recommended', | ||
'plugin:jsx-a11y/recommended', | ||
'plugin:react/jsx-runtime', | ||
'plugin:react/recommended', | ||
], | ||
plugins: [ | ||
// set your plugins | ||
], | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly', | ||
context: 'readonly', | ||
Feature: 'readonly', | ||
Scenario: 'readonly', | ||
actor: 'readonly', | ||
given: 'readonly', | ||
}, | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 11, | ||
ecmaVersion: 12, | ||
sourceType: 'module', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
extends: [ | ||
'plugin:cypress/recommended', | ||
'airbnb-typescript', | ||
'plugin:@typescript-eslint/recommended', | ||
], | ||
files: [ | ||
'cypress/**/*.js', | ||
plugins: [ | ||
'@typescript-eslint', | ||
], | ||
rules: {}, | ||
rules: { | ||
// set your typescript rules | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: ['./tsconfig.json'], | ||
}, | ||
}, | ||
{ | ||
files: ['src/hooks/**/**/*.test.ts?(x)'], | ||
rules: { | ||
'react-hooks/rules-of-hooks': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'], | ||
extends: ['plugin:testing-library/react', 'plugin:jest/recommended'], | ||
rules: { | ||
// set your test eslint rules | ||
}, | ||
}, | ||
], | ||
plugins: [ | ||
'react', | ||
], | ||
ignorePatterns: ['build/', 'node_modules/'], | ||
rules: { | ||
indent: ['error', 2], | ||
'no-trailing-spaces': 'error', | ||
curly: 'error', | ||
'brace-style': 'error', | ||
'no-multi-spaces': 'error', | ||
'space-infix-ops': 'error', | ||
'space-unary-ops': 'error', | ||
'no-whitespace-before-property': 'error', | ||
'func-call-spacing': 'error', | ||
'space-before-blocks': 'error', | ||
'keyword-spacing': ['error', { before: true, after: true }], | ||
'comma-spacing': ['error', { before: false, after: true }], | ||
'comma-style': ['error', 'last'], | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'space-in-parens': ['error', 'never'], | ||
'block-spacing': 'error', | ||
'array-bracket-spacing': ['error', 'never'], | ||
'object-curly-spacing': ['error', 'always'], | ||
'key-spacing': ['error', { mode: 'strict' }], | ||
'arrow-spacing': ['error', { before: true, after: true }], | ||
'jsx-a11y/label-has-associated-control': ['error', { assert: 'either' }], | ||
'react/prop-types': 'off', | ||
'linebreak-style': 'off', | ||
'no-proto': 'off', | ||
'no-underscore-dangle': ['error', { allow: ['_id'] }], | ||
camelcase: ['error', { allow: ['snapshot_UNSTABLE', 'access_token', 'drop_console'] }], | ||
// set your rules | ||
}, | ||
}; |
Binary file removed
BIN
-4.06 KB
.yarn/cache/@babel-code-frame-npm-7.12.11-1a9a1b277f-d243f0b1e4.zip
Binary file not shown.
Binary file added
BIN
+63.9 KB
.yarn/cache/@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-8d70bcdcd8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+16.7 KB
.yarn/cache/@humanwhocodes-config-array-npm-0.11.13-12314014f2-9f655e1df7.zip
Binary file not shown.
Binary file removed
BIN
-12.3 KB
.yarn/cache/@humanwhocodes-config-array-npm-0.5.0-5ded120470-478ad89d87.zip
Binary file not shown.
Binary file added
BIN
+10.4 KB
.yarn/cache/@humanwhocodes-module-importer-npm-1.0.1-9d07ed2e4a-e993950e34.zip
Binary file not shown.
Binary file removed
BIN
-13.4 KB
.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-b48a8f87fc.zip
Binary file not shown.
Binary file added
BIN
+14 KB
.yarn/cache/@humanwhocodes-object-schema-npm-2.0.1-c23364bbfc-dbddfd0465.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+707 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-5.51.0-1f029ae28a-5218449bab.zip
Binary file not shown.
Binary file added
BIN
+9.85 KB
.yarn/cache/@typescript-eslint-parser-npm-5.51.0-884b6bb8aa-489b5e9103.zip
Binary file not shown.
Binary file added
BIN
+307 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-5.51.0-b7465887ff-f60867cacf.zip
Binary file not shown.
Binary file added
BIN
+317 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-5.62.0-c0013838b0-e827770baa.zip
Binary file not shown.
Binary file added
BIN
+49.7 KB
.yarn/cache/@typescript-eslint-type-utils-npm-5.51.0-4f6aa4da90-6c8ffe1ef9.zip
Binary file not shown.
Binary file added
BIN
+42.1 KB
.yarn/cache/@typescript-eslint-types-npm-5.51.0-f82cc017e1-dfc3ee381b.zip
Binary file not shown.
Binary file added
BIN
+42.9 KB
.yarn/cache/@typescript-eslint-types-npm-5.62.0-5c2e0aab15-24e8443177.zip
Binary file not shown.
Binary file added
BIN
+169 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-5.51.0-112e31e861-96d2771d74.zip
Binary file not shown.
Binary file added
BIN
+180 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-5.62.0-5d1ea132a9-06c975eb5f.zip
Binary file not shown.
Binary file added
BIN
+175 KB
.yarn/cache/@typescript-eslint-utils-npm-5.51.0-73194ad495-bf43e82649.zip
Binary file not shown.
Binary file added
BIN
+175 KB
.yarn/cache/@typescript-eslint-utils-npm-5.62.0-907f2d579e-15ef13e439.zip
Binary file not shown.
Binary file added
BIN
+11 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-5.51.0-e311b95a62-4da80b8d11.zip
Binary file not shown.
Binary file added
BIN
+11 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-5.62.0-da1af55f83-dc613ab756.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14.2 KB
.yarn/cache/array.prototype.findlastindex-npm-1.2.3-2a36f4417b-063cbab8ee.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-5.18 KB
.yarn/cache/asynciterator.prototype-npm-1.0.0-72b8ba3fa4-e8ebfd9493.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-76.5 KB
.yarn/cache/es-iterator-helpers-npm-1.0.15-d23bd911af-78535c00c4.zip
Binary file not shown.
Binary file removed
BIN
-29.4 KB
.yarn/cache/eslint-config-airbnb-base-npm-14.2.1-50131c00fb-0d679b6fe8.zip
Binary file not shown.
Binary file added
BIN
+31.4 KB
.yarn/cache/eslint-config-airbnb-base-npm-15.0.0-802837dd26-daa68a1dcb.zip
Binary file not shown.
Binary file removed
BIN
-23.5 KB
.yarn/cache/eslint-config-airbnb-npm-18.2.1-19125926b3-0f251b0512.zip
Binary file not shown.
Binary file added
BIN
+25.4 KB
.yarn/cache/eslint-config-airbnb-npm-19.0.4-a73150c84a-f2086523cf.zip
Binary file not shown.
Binary file added
BIN
+8.09 KB
.yarn/cache/eslint-config-airbnb-typescript-npm-17.0.0-e1f8a377d2-43158416b1.zip
Binary file not shown.
Binary file added
BIN
+4.5 KB
.yarn/cache/eslint-import-resolver-alias-npm-1.1.2-19bb9eab39-3fbb9aeda9.zip
Binary file not shown.
Binary file added
BIN
+17.6 KB
.yarn/cache/eslint-import-resolver-typescript-npm-3.5.3-9363d7a124-c818cf0392.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-424 KB
.yarn/cache/eslint-plugin-import-npm-2.29.1-b94305f7dc-5865f05c38.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+237 KB
.yarn/cache/eslint-plugin-jsx-a11y-npm-6.7.1-84f912ba17-b7eb451304.zip
Binary file not shown.
Binary file removed
BIN
-245 KB
.yarn/cache/eslint-plugin-jsx-a11y-npm-6.8.0-5ffd885665-7a8e449853.zip
Binary file not shown.
Binary file renamed
BIN
+232 KB
...eact-npm-7.33.2-08f77ebc15-cb8c5dd585.zip → ...eact-npm-7.32.2-b8b92d1b99-5ca7959c85.zip
Binary file not shown.
Binary file added
BIN
+62.3 KB
.yarn/cache/eslint-plugin-testing-library-npm-5.10.1-2092b3e77c-1e2d79f7e6.zip
Binary file not shown.
Binary file added
BIN
+8.42 KB
.yarn/cache/eslint-plugin-unused-imports-npm-2.0.0-026709453d-ab2e829cf8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.21 KB
.yarn/cache/eslint-visitor-keys-npm-1.3.0-c07780a0fb-595ab230e0.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.8 KB
.yarn/cache/functional-red-black-tree-npm-1.0.1-ccfe924dcd-debe73e922.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-7.2 KB
.yarn/cache/is-finalizationregistry-npm-1.0.2-15bf1bd7ce-1b8e9e1bf2.zip
Binary file not shown.
Binary file removed
BIN
-12.8 KB
.yarn/cache/is-generator-function-npm-1.0.10-1d0f3809ef-499a3ce636.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.31 KB
.yarn/cache/json-schema-traverse-npm-1.0.0-fb3684f4f0-02f2f466cd.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-10.7 KB
.yarn/cache/reflect.getprototypeof-npm-1.0.4-fa901640c3-52ff881f62.zip
Binary file not shown.
Binary file removed
BIN
-2.61 KB
.yarn/cache/require-from-string-npm-2.0.2-8557e0db12-839a3a8901.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"incremental": true, | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"noEmit": true, | ||
"jsx": "react-jsx", | ||
"baseUrl": "." | ||
}, | ||
"include": ["src"], | ||
"exclude": ["**/*.cy.ts"] | ||
} |
Oops, something went wrong.