Skip to content

Commit

Permalink
style: replace spaces with tabs wd-163
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove committed Nov 19, 2023
1 parent 54eea71 commit c82d08e
Show file tree
Hide file tree
Showing 104 changed files with 16,633 additions and 16,592 deletions.
9 changes: 5 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 2
indent_style = tab
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8

[Makefile]
indent_style = tab
[*.yml]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .lintstagedrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'*.{json,yml,css,js,cjs,d.ts}': prettier --write
'*': make lint_editorconfig lint_fs
'*': make lint_editor lint_fs
'*.css': make lint_css
'*.js': make lint_js lint_type
2 changes: 0 additions & 2 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
plugins:
- 'prettier-plugin-jsdoc'
printWidth: 80
tabWidth: 2
useTabs: false
semi: false
singleQuote: true
quoteProps: preserve
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ prettify:

lint_fs:
npx ls-lint
lint_editorconfig:
lint_editor:
npx editorconfig-checker
lint_prettify:
npx prettier --check "**/*.{json,yml,css,js,cjs,d.ts}"
Expand All @@ -32,4 +32,4 @@ lint_js:
npx eslint --ext .js "**/*.{js,cjs}"
lint_type:
npx tsc --noEmit
lint: lint_fs lint_editorconfig lint_prettify lint_html lint_css lint_js lint_type
lint: lint_fs lint_editor lint_prettify lint_html lint_css lint_js lint_type
18 changes: 9 additions & 9 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { ProjectPrefix } from './project.config.js'

/** @type {import('@commitlint/types').UserConfig} */
let configuration = {
extends: [`@commitlint/config-conventional`],
parserPreset: {
parserOpts: {
issuePrefixes: ProjectPrefix.APPS.map((it) => `${it}-`),
},
},
rules: {
'references-empty': [2, `never`],
},
extends: [`@commitlint/config-conventional`],
parserPreset: {
parserOpts: {
issuePrefixes: ProjectPrefix.APPS.map((it) => `${it}-`),
},
},
rules: {
'references-empty': [2, `never`],
},
}

export default configuration
Loading

0 comments on commit c82d08e

Please sign in to comment.