-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: setup linter and formater tools fix: add formater to all known files fix: linter and formatter fixes with some ignored rules fix: linter fixes fix: change way to detect tsconfig files fix: update linter settings fix: use single qoute always and semicolon just when it's necessary * fix: add sort imports (#279) * feat: add support for import sorting plugin - added import sorting plugin - also converted from .js file to .json file so typescript compiler and eslint doesn't complain about commonjs module syntax * fix: converted all .eslintrc.js to .eslintrc.json and only use one "root" config so everything is shared * fix: sort imports lint fix * fix: import extension error to be disabled in shared elsint config --------- Co-authored-by: Micah Thomas <95306190+bc-micah@users.noreply.github.com>
- Loading branch information
1 parent
ac72444
commit 49c18ab
Showing
348 changed files
with
14,652 additions
and
17,449 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
{ | ||
"root": true, | ||
"extends": ["b2b"], | ||
"settings": { | ||
"import/resolver": { | ||
"typescript": { | ||
"project": ["packages/*/tsconfig.json", "apps/*/tsconfig.json"] | ||
} | ||
} | ||
}, | ||
"parserOptions": { | ||
"project": ["packages/*/tsconfig.json", "apps/*/tsconfig.json"] | ||
} | ||
} |
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,18 +1,22 @@ | ||
## What? | ||
|
||
Write a description of the changes you're making here, and decisions that you made | ||
along the way. Provide enough context that the reviewer(s) can understand your | ||
changes, and the intent behind them. For more details refer to [contributing guideline](https://github.com/bigcommerce/bigcommerce/blob/master/CONTRIBUTING.md#what) | ||
|
||
## Why? | ||
|
||
Describe the underlying driver or intent behind this change. Provide some context | ||
on why it's needed or what is the intended use. For more details refer to [contributing guideline](https://github.com/bigcommerce/bigcommerce/blob/master/CONTRIBUTING.md#why) | ||
|
||
## Testing / Proof | ||
|
||
Explain what you did to test and ensure that these changes work the way you expect. | ||
You must provide evidence in the form of unit tests, screenshots, logs, API | ||
payloads or other output to show the expected behaviour. For more details refer to [contributing guideline](https://github.com/bigcommerce/bigcommerce/blob/master/CONTRIBUTING.md#testing--proof) | ||
|
||
## How can this change be undone in case of failure? | ||
|
||
Provide experiments, feature flags or other mechanisms which used to reduce the risk of changes introduced in this PR. For more details refer to [contributing guideline](https://github.com/bigcommerce/bigcommerce/blob/master/CONTRIBUTING.md#how-can-this-change-be-undone-in-case-of-failure) | ||
|
||
ping {suggested reviewers} |
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ on: | |
- dev | ||
- main | ||
|
||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
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,3 @@ | ||
**/dist | ||
**/out | ||
**/build |
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,4 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true | ||
} |
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,17 @@ | ||
{ | ||
"extends": ["b2b"], | ||
"rules": { | ||
// TODO: make a soft update removing one by one | ||
"import/no-cycle": 0, | ||
"react-hooks/exhaustive-deps": 0, | ||
"react/jsx-props-no-spreading": 0, | ||
"@typescript-eslint/no-shadow": 0, | ||
"no-param-reassign": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"no-console": 0, | ||
"@typescript-eslint/ban-types": 0, | ||
"@typescript-eslint/no-namespace": 0, | ||
"react/destructuring-assignment": 0, | ||
"@typescript-eslint/no-non-null-assertion": 0 | ||
} | ||
} |
Oops, something went wrong.