-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve repository config and static analysis (#124)
Co-authored-by: Kamil Dubiel <kamil.dubiel@infinum.com>
- Loading branch information
Showing
14 changed files
with
91 additions
and
21 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,11 +1,8 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", | ||
"changelog": ["@changesets/changelog-github", { "repo": "infinum/js-linters" }], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "master", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
"updateInternalDependencies": "patch" | ||
} |
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,16 @@ | ||
--- | ||
"@infinum/eslint-plugin": minor | ||
--- | ||
|
||
Changed repository config and static code analysis: | ||
- Added `.editorconfig` file | ||
- Added `.gitattributes` file | ||
- Cleaned up `.gitignore` | ||
- Added `lint-staged` configuration | ||
- Added `node-version` file | ||
- Added `prettier` configuration | ||
- Updated `CODEOWNERS` file | ||
- Updated `LICENSE` file | ||
- Added recommended extensions | ||
- Removed `.vscode/settings.json` file | ||
- Changed `changesets` configuration |
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,11 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = tab | ||
indent_size = 2 # GitHub uses this value for indentation size when showing code on the Web | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{yml,yaml}] | ||
indent_style = space |
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 @@ | ||
* -text |
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,11 +1,18 @@ | ||
# Dependencies | ||
node_modules | ||
jspm_packages | ||
|
||
typings/ | ||
# IDE | ||
.vscode/settings.json | ||
|
||
package-lock.json | ||
yarn.lock | ||
# Output | ||
dist/ | ||
|
||
lerna-debug.log | ||
# Typescript | ||
*.tsbuildinfo | ||
|
||
dist/ | ||
# Misc | ||
.DS_Store | ||
pnpm-debug.log* | ||
|
||
# Environment | ||
.env* |
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 @@ | ||
{ | ||
"*": ["prettier -c"], | ||
"*.{ts,js}": ["eslint --max-warnings=0"] | ||
} |
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 @@ | ||
20.12.2 |
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,28 @@ | ||
# Dependency | ||
node_modules | ||
pnpm-lock.yaml | ||
|
||
# Build | ||
dist | ||
|
||
# VSCode | ||
.vscode | ||
|
||
# Log | ||
*.log | ||
|
||
# Unsupported extensions | ||
*.md | ||
|
||
# Unsupported files | ||
.editorconfig | ||
.eslintignore | ||
.gitignore | ||
.prettierignore | ||
LICENSE | ||
|
||
# Unsupported directories | ||
.husky | ||
|
||
# Intentionally ignored | ||
*.hbs |
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,10 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"dbaeumer.vscode-eslint", | ||
"itsmeadarsh.vsc-handlebars-ext", | ||
"esbenp.prettier-vscode", | ||
"github.vscode-github-actions", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,5 +1 @@ | ||
* @isbatak @kristian240 | ||
|
||
/packages/eslint-config-angular-ts @thabalija | ||
/packages/eslint-config-core-ts @thabalija | ||
/packages/eslint-config-core-js @thabalija | ||
* @kamdubiel |
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