-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
botonic Developer Experience (DX) 3/3 (#1602)
* chore(dx): upgrade eslint_d to 10.1.3 otherwise, --config is ignored * chore(dx): npm7 required to publish hidden files * chore(dx): fix parserOptions.project error in eslint it happens if eslint typescript parser gets the includes files from tsconfig from the dx/base-line folder instead of the main project Now js & json in root folder only prettified and not eslinted, since they're actually not code but config. This also prevents * chore(dx): don't eslint JS files Temporary removed. See README.md * chore: upgrade deprecated babel plugin babel-plugin-add-module-exports->@babel/plugin-transform-modules-commonjs * chore: upgrade dev deps use caret to automatically upgrade minor versions
- Loading branch information
Showing
10 changed files
with
541 additions
and
93 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
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
{ | ||
"extends": "@botonic/dx/baseline/tsconfig.eslint.json", | ||
// include required to avoid this error (probably otherwise it uses baseline as root folder) | ||
// Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. | ||
// The file does not match your project config | ||
"include": [ | ||
"src", | ||
"tests" | ||
] | ||
} |
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,9 +1,10 @@ | ||
{ | ||
"extends": "@botonic/dx/baseline/tsconfig.tests.json", | ||
"include": [ | ||
"src" | ||
"src", | ||
"tests" | ||
], | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"rootDir": ".", | ||
} | ||
} |
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