
* Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Update to new design theme (#1631) * Update macaw to 0.3.0 (#1623) * Update macaw to 0.3 * Use proper pagination component * Fix type errors * Remove leftover import * Remove variant and color from confirm button * Remove alias * Update macaw * Fix button type * Random fixes (#1633) * Improve layout components * Use colored svgs * Minor fixes * Fix autocomplete loaders * Fix padding * Fix button variant * Remove codegen file * Fixes after bumping macaw to 0.3 part 2 (#1638) * Fix various visual bugs * Fix type errors * Bump macaw * Random fixes part 3 (#1647) * wip * Fix mismatched paddings * Fix actions container padding * Put story in the right directory * Fix shipping zone picker * Fix minor visual bugs * Remove unused imports * Move styles to separate file * Random fixes part 4 (#1641) * Fix various visual bugs * Fix type errors * Fix last table item padding * Add outline on hover * Fix spaces * Fix spaces * Remove dead code * Fix elevation * Remove dead code * Fix shadows * Add outline to expand button * Fix spacing * Fix spacings * Fix selectable tables hover * Use proper delete icon * Fix ConfirmButtonTransitionState imports * Update src/apps/components/CustomApps/CustomApps.tsx Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> * Rework error page (#1670) * Remake error page * Fix types * Update error id styles * Fix types * Login page rework (#1703) * Rework login page * Remove outline * Fix logo and footer placement * Sort imports * Random fixes part 5 (#1669) * Fix text color in dark mode * Update password reset pages (#1714) * Update password reset pages * Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix collection page * Update dark mode logo * Bring back "create app" button * Fix spacings * Fix selects * Fix login e2e test * Fix not found page displaying * Update selector * Add missing package * Let dropdown overflow through card * Fix scroll * Fix scroll * Fix overflow on grid element * Fix e2e tests * Fix data-test-id * Update snapshots * Update messages * Update macaw * Update snapshots * Use stable macaw version Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com> * Fix visual bugs and artifacts * Fix dropdown menus being clipped (#1762) * wip * Fix clipped select menus * Remove unused import * Fix spacing * Fix tests * Fix select content appearing under dialogs (#1777) * Fix type errors * Fix bulk delete button placement * Fix filter arrow buttons * Fix messages * Remove backling from pages list * Move status above events * Update messages and snapshots Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io> Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
181 lines
5.2 KiB
JSON
181 lines
5.2 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"import",
|
|
"local-rules",
|
|
"simple-import-sort",
|
|
"cypress",
|
|
"chai-friendly"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
"@typescript-eslint/array-type": [
|
|
"error",
|
|
{
|
|
"default": "array-simple"
|
|
}
|
|
],
|
|
"@typescript-eslint/ban-types": [
|
|
"error",
|
|
{
|
|
"extendDefaults": true,
|
|
"types": {
|
|
"{}": false
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
"@typescript-eslint/consistent-type-definitions": "error",
|
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
"@typescript-eslint/indent": "off",
|
|
"@typescript-eslint/interface-name-prefix": "off",
|
|
"@typescript-eslint/member-delimiter-style": [
|
|
"off",
|
|
"error",
|
|
{
|
|
"multiline": {
|
|
"delimiter": "none",
|
|
"requireLast": true
|
|
},
|
|
"singleline": {
|
|
"delimiter": "semi",
|
|
"requireLast": false
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/member-ordering": "error",
|
|
"@typescript-eslint/no-empty-function": "error",
|
|
"@typescript-eslint/no-empty-interface": "error",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-misused-new": "error",
|
|
"@typescript-eslint/no-namespace": "error",
|
|
"@typescript-eslint/no-parameter-properties": "off",
|
|
"@typescript-eslint/no-this-alias": "error",
|
|
"@typescript-eslint/no-use-before-declare": "off",
|
|
"@typescript-eslint/no-var-requires": "error",
|
|
"@typescript-eslint/prefer-for-of": "error",
|
|
"@typescript-eslint/prefer-function-type": "error",
|
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
"@typescript-eslint/quotes": "off",
|
|
"@typescript-eslint/semi": ["off", null],
|
|
"@typescript-eslint/space-within-parens": ["off", "never"],
|
|
"@typescript-eslint/triple-slash-reference": "error",
|
|
"@typescript-eslint/type-annotation-spacing": "off",
|
|
"@typescript-eslint/unified-signatures": "error",
|
|
"arrow-body-style": "error",
|
|
"arrow-parens": ["off", "as-needed"],
|
|
"camelcase": "off",
|
|
"capitalized-comments": "off",
|
|
"chai-friendly/no-unused-expressions": "error",
|
|
"comma-dangle": "off",
|
|
"complexity": "off",
|
|
"constructor-super": "error",
|
|
"curly": "error",
|
|
"dot-notation": "error",
|
|
"eol-last": "off",
|
|
"eqeqeq": ["error", "smart"],
|
|
"guard-for-in": "error",
|
|
"id-blacklist": "off",
|
|
"import/no-extraneous-dependencies": "off", // imports are handled by simple-import-sort/sort
|
|
"import/no-internal-modules": "off", // imports are handled by simple-import-sort/sort
|
|
"import/order": "off", // imports are handled by simple-import-sort/sort
|
|
"linebreak-style": "off",
|
|
"local-rules/named-styles": "error",
|
|
"max-classes-per-file": "off",
|
|
"max-len": "off",
|
|
"new-parens": "off",
|
|
"newline-per-chained-call": "off",
|
|
"no-bitwise": "error",
|
|
"no-caller": "error",
|
|
"no-cond-assign": "error",
|
|
"no-console": [
|
|
"error",
|
|
{
|
|
"allow": [
|
|
"warn",
|
|
"dir",
|
|
"time",
|
|
"timeEnd",
|
|
"timeLog",
|
|
"trace",
|
|
"assert",
|
|
"clear",
|
|
"count",
|
|
"countReset",
|
|
"group",
|
|
"groupEnd",
|
|
"table",
|
|
"debug",
|
|
"info",
|
|
"dirxml",
|
|
"error",
|
|
"groupCollapsed",
|
|
"Console",
|
|
"profile",
|
|
"profileEnd",
|
|
"timeStamp",
|
|
"context"
|
|
]
|
|
}
|
|
],
|
|
"no-debugger": "error",
|
|
"no-duplicate-case": "error",
|
|
"no-empty": "error",
|
|
"no-eval": "error",
|
|
"no-extra-bind": "error",
|
|
"no-extra-semi": "off",
|
|
"no-fallthrough": "off",
|
|
"no-invalid-this": "off",
|
|
"no-irregular-whitespace": "off",
|
|
"no-multiple-empty-lines": "off",
|
|
"no-new-func": "error",
|
|
"no-new-wrappers": "error",
|
|
"no-redeclare": "off",
|
|
"no-return-await": "error",
|
|
"no-sequences": "error",
|
|
"no-shadow": [
|
|
"off",
|
|
{
|
|
"hoist": "all"
|
|
}
|
|
],
|
|
"no-sparse-arrays": "error",
|
|
"no-template-curly-in-string": "error",
|
|
"no-throw-literal": "error",
|
|
"no-trailing-spaces": "off",
|
|
"no-undef-init": "error",
|
|
"no-underscore-dangle": "off",
|
|
"no-unsafe-finally": "error",
|
|
"no-unused-expressions": "off",
|
|
"no-unused-labels": "error",
|
|
"no-var": "error",
|
|
"object-shorthand": "error",
|
|
"one-var": ["error", "never"],
|
|
"prefer-const": "error",
|
|
"prefer-object-spread": "error",
|
|
"quote-props": "off",
|
|
"radix": "error",
|
|
"simple-import-sort/sort": ["error"],
|
|
"sort-imports": "off", // imports are handled by simple-import-sort/sort
|
|
"sort-keys": "off",
|
|
"space-before-function-paren": "off",
|
|
"spaced-comment": ["error", "always", { "markers": ["/"] }],
|
|
"use-isnan": "error",
|
|
"valid-typeof": "off",
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{
|
|
"paths": ["lodash", "@material-ui/icons/Delete"]
|
|
}
|
|
]
|
|
},
|
|
"ignorePatterns": ["node_modules/", "**/types/**/*"]
|
|
}
|