forked from cursorless-everywhere/cursorless
-
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.
* Initial pre-commit config * Updates to pre commit * New prettier config * Fix type * Add comment * At another comment to * Tweak pretty or config * More pre commit fixes * Improve comment * Improve comment * Add prettier recommended extension * Fix typescript errors * Add black to vscode settings * Change prettier version * Don't autofix PRs * Add simple docs * Tweak editor config * At a comment * Removes something we didn't need * Remove marked down line length * Attempt to fix eslint in pre comet * Fix * Another fix * Try to fix eslint * Bump versions * Update lock file * Tweak package * unset editorconfig for vendor * Exclude vendor * Tweak editorconfig * Add more rules * Remove lint from pre commit * Sort hooks * Run shed last
- Loading branch information
Showing
12 changed files
with
639 additions
and
622 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,38 @@ | ||
# See https://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
[*.json] | ||
indent_style = tab | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{yml,yaml}] | ||
# Trailing whitespace breaks yaml files if you use a multiline string | ||
# with a line that has trailing white space. Many of our recorded | ||
# tests use strings with trailing white space to represent the final | ||
# document contents. For example | ||
# src/test/suite/fixtures/recorded/languages/ruby/changeCondition.yml | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[src/vendor/**] | ||
charset = unset | ||
end_of_line = unset | ||
indent_size = unset | ||
indent_style = unset | ||
trim_trailing_whitespace = unset | ||
insert_final_newline = unset | ||
max_line_length = unset |
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,41 @@ | ||
minimum_pre_commit_version: "2.9.0" | ||
ci: | ||
autofix_prs: false | ||
exclude: ^src/vendor/ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.1.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-executables-have-shebangs | ||
- id: check-merge-conflict | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-symlinks | ||
- id: destroyed-symlinks | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: fix-byte-order-marker | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
# Trailing whitespace breaks yaml files if you use a multiline string | ||
# with a line that has trailing white space. Many of our recorded | ||
# tests use strings with trailing white space to represent the final | ||
# document contents. For example | ||
# src/test/suite/fixtures/recorded/languages/ruby/changeCondition.yml | ||
exclude: ^src/test/suite/fixtures/recorded/.*/[^/]*\.yml$ | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v2.6.2" | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/ikamensh/flynt/ | ||
rev: "0.76" | ||
hooks: | ||
- id: flynt | ||
- repo: https://github.com/Zac-HD/shed | ||
rev: 0.9.5 | ||
hooks: | ||
- id: shed | ||
# TODO: bump to --py310-plus when Talon moves to Python 3.10. | ||
args: [--refactor, --py39-plus] | ||
types_or: [python, markdown, rst] |
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 @@ | ||
/src/vendor | ||
|
||
# We use our own format for our recorded yaml tests to keep them compact | ||
/src/test/suite/fixtures/recorded/**/*.yml |
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
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,12 +1,12 @@ | ||
"module name","licenses","repository","licenseUrl","parents" | ||
"@docusaurus/[email protected].15","MIT","https://github.com/facebook/docusaurus","https://github.com/facebook/docusaurus/raw/master/LICENSE","website" | ||
"@docusaurus/[email protected].15","MIT","https://github.com/facebook/docusaurus","https://github.com/facebook/docusaurus/raw/master/LICENSE","website" | ||
"@docusaurus/[email protected].17","MIT","https://github.com/facebook/docusaurus","https://github.com/facebook/docusaurus/raw/master/LICENSE","website" | ||
"@docusaurus/[email protected].17","MIT","https://github.com/facebook/docusaurus","https://github.com/facebook/docusaurus/raw/master/LICENSE","website" | ||
"@mdx-js/[email protected]","MIT","https://github.com/mdx-js/mdx","https://github.com/mdx-js/mdx/raw/master/license","website" | ||
"@types/[email protected].168","MIT","https://github.com/DefinitelyTyped/DefinitelyTyped","https://github.com/DefinitelyTyped/DefinitelyTyped/raw/master/LICENSE","cursorless" | ||
"@types/[email protected].181","MIT","https://github.com/DefinitelyTyped/DefinitelyTyped","https://github.com/DefinitelyTyped/DefinitelyTyped/raw/master/LICENSE","cursorless" | ||
"[email protected]","MIT","https://github.com/lukeed/clsx","https://github.com/lukeed/clsx/raw/master/license","website" | ||
"[email protected]","MIT","https://github.com/kolodny/immutability-helper","https://github.com/kolodny/immutability-helper/raw/master/LICENSE","cursorless" | ||
"[email protected]","MIT","https://github.com/syntax-tree/mdast-util-find-and-replace","https://github.com/syntax-tree/mdast-util-find-and-replace/raw/master/license","website" | ||
"prism-react-renderer@1.2.1","MIT","https://github.com/FormidableLabs/prism-react-renderer","https://github.com/FormidableLabs/prism-react-renderer/raw/master/LICENSE","website" | ||
"prism-react-renderer@1.3.1","MIT","https://github.com/FormidableLabs/prism-react-renderer","https://github.com/FormidableLabs/prism-react-renderer/raw/master/LICENSE","website" | ||
"[email protected]","MIT","https://github.com/facebook/react","https://github.com/facebook/react/raw/master/LICENSE","website" | ||
"[email protected]","MIT","https://github.com/facebook/react","https://github.com/facebook/react/raw/master/LICENSE","website" | ||
"[email protected]","MIT","https://github.com/syntax-tree/unist-util-visit","https://github.com/syntax-tree/unist-util-visit/raw/master/license","website" |
Oops, something went wrong.