-
-
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.
feat(prettier)!: use tabs instead of spaces (#42)
Resolves #34
- Loading branch information
Showing
25 changed files
with
401 additions
and
394 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@mheob/eslint-config': patch | ||
'@mheob/prettier-config': patch | ||
--- | ||
|
||
Format all files to the new tabs instead of spaces behaviour |
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,5 @@ | ||
--- | ||
'@mheob/prettier-config': major | ||
--- | ||
|
||
Switch from spaces to tabs as indentation |
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,5 +1,5 @@ | ||
/** @type {import('eslint').ESLint.ConfigData} */ | ||
module.exports = { | ||
root: true, | ||
extends: ['@mheob/eslint-config'], | ||
root: true, | ||
extends: ['@mheob/eslint-config'], | ||
}; |
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,25 +1,25 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base"], | ||
"labels": ["dependencies"], | ||
"rangeStrategy": "replace", | ||
"separateMajorMinor": true, | ||
"dependencyDashboard": true, | ||
"dependencyDashboardAutoclose": false, | ||
"major": { | ||
"dependencyDashboardApproval": true | ||
}, | ||
"stabilityDays": 3, | ||
"prCreation": "not-pending", | ||
"prConcurrentLimit": 5, | ||
"timezone": "Europe/Berlin", | ||
"schedule": ["before 5am on Wednesday"], | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": ["*"], | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"groupName": "all non-major dependencies", | ||
"groupSlug": "all-minor-patch" | ||
} | ||
] | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base"], | ||
"labels": ["dependencies"], | ||
"rangeStrategy": "replace", | ||
"separateMajorMinor": true, | ||
"dependencyDashboard": true, | ||
"dependencyDashboardAutoclose": false, | ||
"major": { | ||
"dependencyDashboardApproval": true | ||
}, | ||
"stabilityDays": 3, | ||
"prCreation": "not-pending", | ||
"prConcurrentLimit": 5, | ||
"timezone": "Europe/Berlin", | ||
"schedule": ["before 5am on Wednesday"], | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": ["*"], | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"groupName": "all non-major dependencies", | ||
"groupSlug": "all-minor-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
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,3 @@ | ||
module.exports = { | ||
...require('@mheob/prettier-config'), | ||
...require('@mheob/prettier-config'), | ||
}; |
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,51 +1,50 @@ | ||
{ | ||
"name": "@mheob/config", | ||
"version": "0.0.0", | ||
"private": true, | ||
"license": "MIT", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"changeset": "changeset", | ||
"clean": "turbo run clean", | ||
"clean:root": "rm -rf .turbo && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{cjs,js,jsx,ts,tsx,json,md,mdx,yml}\"", | ||
"lint": "turbo run lint", | ||
"prepare": "ts-node ./scripts/prepare.ts", | ||
"release": "changeset publish", | ||
"sort-package-json": "pnpm dlx sort-package-json && turbo run sort-package-json", | ||
"version-packages": "changeset version" | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"lint-staged": { | ||
"*.{cjs,js,jsx,ts,tsx}": "eslint --fix", | ||
"!(pnpm-)*.{cjs,js,jsx,ts,tsx,json,md,mdx,yml,yaml}": "pnpm exec prettier --write", | ||
"**/package.json": "pnpm dlx sort-package-json" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.24.4", | ||
"@commitlint/cli": "^17.1.2", | ||
"@commitlint/config-conventional": "^17.1.0", | ||
"@mheob/eslint-config": "workspace:*", | ||
"@mheob/prettier-config": "workspace:*", | ||
"@types/node": "^18.7.18", | ||
"eslint": "^8.23.1", | ||
"husky": "^8.0.0", | ||
"is-ci": "^3.0.1", | ||
"lint-staged": "^13.0.3", | ||
"prettier": "^2.7.1", | ||
"ts-node": "^10.9.1", | ||
"turbo": "^1.4.6", | ||
"typescript": "^4.8.3" | ||
}, | ||
"packageManager": "pnpm@7.11.0", | ||
"engines": { | ||
"node": ">=16.0.0", | ||
"npm": ">=8.0.0" | ||
} | ||
"name": "@mheob/config", | ||
"version": "0.0.0", | ||
"private": true, | ||
"license": "MIT", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"changeset": "changeset", | ||
"clean": "turbo run clean", | ||
"clean:root": "rm -rf .turbo && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{cjs,js,jsx,ts,tsx,json,md,mdx,yml}\"", | ||
"lint": "turbo run lint", | ||
"prepare": "ts-node ./scripts/prepare.ts", | ||
"release": "changeset publish", | ||
"sort-package-json": "pnpm dlx sort-package-json && turbo run sort-package-json", | ||
"version-packages": "changeset version" | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"lint-staged": { | ||
"*.{cjs,js,jsx,ts,tsx}": "eslint --fix", | ||
"!(pnpm-)*.{cjs,js,jsx,ts,tsx,json,md,mdx,yml,yaml}": "pnpm exec prettier --write", | ||
"**/package.json": "pnpm dlx sort-package-json" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.24.4", | ||
"@commitlint/cli": "^17.1.2", | ||
"@commitlint/config-conventional": "^17.1.0", | ||
"@mheob/eslint-config": "workspace:*", | ||
"@mheob/prettier-config": "workspace:*", | ||
"@types/node": "^18.7.18", | ||
"eslint": "^8.23.1", | ||
"husky": "^8.0.0", | ||
"lint-staged": "^13.0.3", | ||
"prettier": "^2.7.1", | ||
"ts-node": "^10.9.1", | ||
"turbo": "^1.4.6", | ||
"typescript": "^4.8.3" | ||
}, | ||
"packageManager": "pnpm@7.11.0", | ||
"engines": { | ||
"node": ">=16.0.0", | ||
"npm": ">=8.0.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** @type {import('eslint').ESLint.ConfigData} */ | ||
module.exports = { | ||
extends: ['./base.js'], | ||
env: { node: true }, | ||
rules: { | ||
'unicorn/prefer-module': 'off', | ||
}, | ||
extends: ['./base.js'], | ||
env: { node: true }, | ||
rules: { | ||
'unicorn/prefer-module': 'off', | ||
}, | ||
}; |
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
Oops, something went wrong.