Skip to content

Commit

Permalink
Attach permission variables to all queries (#1000)
Browse files Browse the repository at this point in the history
* [SALEOR-2190] Attach permission variables to all queries

* Fix TS linter issues

* Update package-lock
  • Loading branch information
jwm0 authored Mar 9, 2021
1 parent 2cd4ea9 commit a7736e2
Show file tree
Hide file tree
Showing 24 changed files with 28,490 additions and 962 deletions.
15 changes: 11 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@
"default": "array-simple"
}
],
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/class-name-casing": "error",
"@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",
Expand Down Expand Up @@ -128,7 +135,7 @@
"no-multiple-empty-lines": "off",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-redeclare": "error",
"no-redeclare": "off",
"no-return-await": "error",
"no-sequences": "error",
"no-shadow": [
Expand All @@ -155,7 +162,7 @@
"radix": "error",
"simple-import-sort/sort": ["error"],
"sort-imports": "off", // imports are handled by simple-import-sort/sort
"sort-keys": "warn",
"sort-keys": "off",
"space-before-function-paren": "off",
"spaced-comment": "error",
"use-isnan": "error",
Expand Down
4 changes: 0 additions & 4 deletions locale/defaultMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1879,10 +1879,6 @@
"src_dot_components_dot_ErrorPage_dot_3182212440": {
"string": "We've encountered a problem..."
},
"src_dot_components_dot_FileUpload_dot_3050254265": {
"context": "upload file, button",
"string": "Upload"
},
"src_dot_components_dot_FilterBar_dot_2173195312": {
"context": "button",
"string": "Delete Search"
Expand Down
Loading

0 comments on commit a7736e2

Please sign in to comment.