formate-js 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- formate_js-0.1.0/.bumpversion.cfg +28 -0
- formate_js-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +51 -0
- formate_js-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- formate_js-0.1.0/.github/auto_assign.yml +9 -0
- formate_js-0.1.0/.github/dependabot.yml +11 -0
- formate_js-0.1.0/.github/milestones.py +28 -0
- formate_js-0.1.0/.github/stale.yml +63 -0
- formate_js-0.1.0/.github/workflows/CI.yml +204 -0
- formate_js-0.1.0/.github/workflows/flake8.yml +51 -0
- formate_js-0.1.0/.github/workflows/mypy.yml +55 -0
- formate_js-0.1.0/.github/workflows/octocheese.yml +20 -0
- formate_js-0.1.0/.github/workflows/python_ci.yml +69 -0
- formate_js-0.1.0/.github/workflows/python_ci_linux.yml +70 -0
- formate_js-0.1.0/.github/workflows/python_ci_macos.yml +69 -0
- formate_js-0.1.0/.gitignore +86 -0
- formate_js-0.1.0/.imgbotconfig +6 -0
- formate_js-0.1.0/.pre-commit-config.yaml +97 -0
- formate_js-0.1.0/.pylintrc +407 -0
- formate_js-0.1.0/.style.yapf +393 -0
- formate_js-0.1.0/CONTRIBUTING.rst +73 -0
- formate_js-0.1.0/Cargo.lock +1406 -0
- formate_js-0.1.0/Cargo.toml +18 -0
- formate_js-0.1.0/LICENSE +19 -0
- formate_js-0.1.0/PKG-INFO +142 -0
- formate_js-0.1.0/README.rst +114 -0
- formate_js-0.1.0/formate.toml +41 -0
- formate_js-0.1.0/justfile +25 -0
- formate_js-0.1.0/pyproject.toml +84 -0
- formate_js-0.1.0/python/formate_js/__init__.py +89 -0
- formate_js-0.1.0/python/formate_js/_formate_js.pyi +614 -0
- formate_js-0.1.0/python/formate_js/enums.py +322 -0
- formate_js-0.1.0/python/formate_js/py.typed +0 -0
- formate_js-0.1.0/repo_helper.yml +42 -0
- formate_js-0.1.0/requirements.txt +1 -0
- formate_js-0.1.0/rustfmt.toml +1 -0
- formate_js-0.1.0/src/configuration.rs +2477 -0
- formate_js-0.1.0/src/configuration_builder.rs +712 -0
- formate_js-0.1.0/src/format_text.rs +70 -0
- formate_js-0.1.0/src/lib.rs +21 -0
- formate_js-0.1.0/tests/conftest.py +1 -0
- formate_js-0.1.0/tests/requirements.txt +8 -0
- formate_js-0.1.0/tests/specs/LICENSE +21 -0
- formate_js-0.1.0/tests/specs/README.md +5 -0
- formate_js-0.1.0/tests/specs/clauses/catchClause/CatchClause_All.txt +41 -0
- formate_js-0.1.0/tests/specs/clauses/catchClause/CatchClause_SpaceAround_True.txt +42 -0
- formate_js-0.1.0/tests/specs/comments/CommentBlocks_All.txt +102 -0
- formate_js-0.1.0/tests/specs/comments/CommentLines_All.txt +69 -0
- formate_js-0.1.0/tests/specs/comments/CommentLines_ForceSpaceAfterDoubleSlash_False.txt +10 -0
- formate_js-0.1.0/tests/specs/comments/IgnoreComments_All.txt +75 -0
- formate_js-0.1.0/tests/specs/comments/IgnoreComments_Custom.txt +70 -0
- formate_js-0.1.0/tests/specs/comments/IgnoreComments_Jsx.txt +50 -0
- formate_js-0.1.0/tests/specs/comments/InnerComments_All.txt +10 -0
- formate_js-0.1.0/tests/specs/comments/JSDocComments_All.txt +166 -0
- formate_js-0.1.0/tests/specs/common/ComputedProperty/ComputedProperty_All.txt +40 -0
- formate_js-0.1.0/tests/specs/common/DeclarationFile_All.txt +44 -0
- formate_js-0.1.0/tests/specs/common/configuration/IllegalTrailingCommas.txt +84 -0
- formate_js-0.1.0/tests/specs/common/configuration/UseTabs_IndentWidth.txt +8 -0
- formate_js-0.1.0/tests/specs/common/identifier/Identifier_All.txt +32 -0
- formate_js-0.1.0/tests/specs/common/typeAnnotation/TypeAnnotation_SpaceBeforeColon_True.txt +54 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_Body.txt +41 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_Body_Comments.txt +31 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_BracePosition_NextLine.txt +51 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_Decorators.txt +76 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_Header.txt +223 -0
- formate_js-0.1.0/tests/specs/declarations/class/ClassDeclaration_PreferHanging_True.txt +81 -0
- formate_js-0.1.0/tests/specs/declarations/class/auto_accessor/AutoAccessor_All.txt +32 -0
- formate_js-0.1.0/tests/specs/declarations/class/decorator/Decorator_All.txt +104 -0
- formate_js-0.1.0/tests/specs/declarations/class/decorator/Decorator_JavaScript.txt +11 -0
- formate_js-0.1.0/tests/specs/declarations/class/decorator/Decorators_PreferSingleLine_True.txt +37 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_All.txt +141 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_BracePosition_Maintain.txt +58 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_BracePosition_NextLine.txt +49 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_BracePosition_SameLine.txt +29 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_DeclareMethod.txt +11 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_DeclareMethod_SemiColons_Asi.txt +10 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_PreferHanging_True.txt +56 -0
- formate_js-0.1.0/tests/specs/declarations/class/method/ClassMethod_SpaceBeforeParentheses_True.txt +12 -0
- formate_js-0.1.0/tests/specs/declarations/class/parameter_property/ParameterProperty_All.txt +23 -0
- formate_js-0.1.0/tests/specs/declarations/class/private_method/PrivateMethod_All.txt +26 -0
- formate_js-0.1.0/tests/specs/declarations/class/private_property/PrivateProperty_All.txt +39 -0
- formate_js-0.1.0/tests/specs/declarations/class/property/ClassProperty_All.txt +51 -0
- formate_js-0.1.0/tests/specs/declarations/class/property/ClassProperty_SemiColons_Asi.txt +28 -0
- formate_js-0.1.0/tests/specs/declarations/class/static_block/StaticBlock_All.txt +17 -0
- formate_js-0.1.0/tests/specs/declarations/class/static_block/StaticBlock_BracePosition_Maintain.txt +26 -0
- formate_js-0.1.0/tests/specs/declarations/class/static_block/StaticBlock_BracePosition_NextLine.txt +13 -0
- formate_js-0.1.0/tests/specs/declarations/class/static_block/StaticBlock_BracePosition_SameLine.txt +13 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_All.txt +70 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_BracePosition_Maintain.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_BracePosition_NextLine.txt +9 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_BracePosition_SameLine.txt +9 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_MemberSpacing_Blankline.txt +23 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_MemberSpacing_Maintain.txt +22 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_MemberSpacing_Newline.txt +20 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_TrailingCommas_Always.txt +13 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_TrailingCommas_Never.txt +13 -0
- formate_js-0.1.0/tests/specs/declarations/enum/EnumDeclaration_TrailingCommas_OnlyMultiLine.txt +13 -0
- formate_js-0.1.0/tests/specs/declarations/enum/members/EnumMember_All.txt +30 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportAllDeclaration_All.txt +28 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportAllDeclaration_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDeclaration_All.txt +7 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDeclaration_ForceMultiLine_Always.txt +81 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDeclaration_ForceMultiLine_OnlyWhenMultiple.txt +49 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDeclaration_ForceSingleLine_True.txt +49 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDeclaration_PreferSingleLine_True.txt +34 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDeclaration_SpaceSurroundingNamedExports_False.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDefaultDeclaration_All.txt +16 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDefaultExpression_All.txt +20 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportDefaultExpression_SemiColons_Asi.txt +8 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportNamedDeclaration_All.txt +179 -0
- formate_js-0.1.0/tests/specs/declarations/export/ExportNamedDeclaration_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_PreferHanging_False.txt +19 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_PreferHanging_True.txt +51 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_SortNamedTypeExports_First.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_SortNamedTypeExports_Last.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_SortNamedTypeExports_None.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_SortOrder_CaseInsensitive.txt +92 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_SortOrder_CaseSensitive.txt +15 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_SortOrder_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/declarations/export/NamedExports_TrailingCommas_Never.txt +24 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_All.txt +107 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_BracePosition_NextLine.txt +19 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_CloseBraceOverMaxWidth.txt +48 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_Parens_PreferSingleLine_False.txt +29 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_Parens_PreferSingleLine_True.txt +22 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_PreferHanging_True.txt +44 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/function/Function_SpaceBeforeParentheses_True.txt +32 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_All.txt +176 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_ForceMultiLine_Always.txt +91 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_ForceMultiLine_Never.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_ForceMultiLine_OnlyWhenMultiple.txt +16 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_ForceSingleLine_True.txt +56 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_PreferSingleLine_True.txt +34 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/import/ImportDeclaration_SpaceSurroundingNamedExports_False.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_PreferHanging_False.txt +17 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_PreferHanging_True.txt +37 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_SortNamedTypeImports_First.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_SortNamedTypeImports_Last.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_SortNamedTypeImports_None.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_SortOrder_CaseInsensitive.txt +92 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_SortOrder_CaseSensitive.txt +15 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_SortOrder_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/declarations/import/NamedImports_TrailingCommas_Never.txt +24 -0
- formate_js-0.1.0/tests/specs/declarations/importEquals/ImportEqualsDeclaration_All.txt +16 -0
- formate_js-0.1.0/tests/specs/declarations/importEquals/ImportEqualsDeclaration_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/interface/InterfaceDeclaration_Body.txt +40 -0
- formate_js-0.1.0/tests/specs/declarations/interface/InterfaceDeclaration_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/declarations/interface/InterfaceDeclaration_BracePosition_NextLine.txt +35 -0
- formate_js-0.1.0/tests/specs/declarations/interface/InterfaceDeclaration_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/interface/InterfaceDeclaration_Header.txt +123 -0
- formate_js-0.1.0/tests/specs/declarations/interface/InterfaceDeclaration_PreferHanging_True.txt +76 -0
- formate_js-0.1.0/tests/specs/declarations/interface/callSignature/CallSignature_All.txt +66 -0
- formate_js-0.1.0/tests/specs/declarations/interface/callSignature/CallSignature_PreferHanging_True.txt +23 -0
- formate_js-0.1.0/tests/specs/declarations/interface/callSignature/CallSignature_SemiColons_Asi.txt +10 -0
- formate_js-0.1.0/tests/specs/declarations/interface/constructSignature/ConstructSignature_All.txt +74 -0
- formate_js-0.1.0/tests/specs/declarations/interface/constructSignature/ConstructSignature_PreferHanging_True.txt +23 -0
- formate_js-0.1.0/tests/specs/declarations/interface/constructSignature/ConstructSignature_SemiColons_Asi.txt +10 -0
- formate_js-0.1.0/tests/specs/declarations/interface/constructSignature/ConstructSignature_SpaceAfterNewKeyword_True.txt +12 -0
- formate_js-0.1.0/tests/specs/declarations/interface/getterSignature/GetterSignature_All.txt +22 -0
- formate_js-0.1.0/tests/specs/declarations/interface/indexSignature/IndexSignature_All.txt +25 -0
- formate_js-0.1.0/tests/specs/declarations/interface/indexSignature/IndexSignature_SemiColons_Asi.txt +10 -0
- formate_js-0.1.0/tests/specs/declarations/interface/methodSignature/MethodSignature_All.txt +58 -0
- formate_js-0.1.0/tests/specs/declarations/interface/methodSignature/MethodSignature_PreferHanging_True.txt +23 -0
- formate_js-0.1.0/tests/specs/declarations/interface/methodSignature/MethodSignature_SemiColons_Asi.txt +10 -0
- formate_js-0.1.0/tests/specs/declarations/interface/propertySignature/PropertySignature_All.txt +17 -0
- formate_js-0.1.0/tests/specs/declarations/interface/propertySignature/PropertySignature_SemiColons_Asi.txt +10 -0
- formate_js-0.1.0/tests/specs/declarations/interface/setterSignature/SetterSignature_All.txt +22 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_Body.txt +40 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_BracePosition_Maintain.txt +18 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_BracePosition_NextLine.txt +9 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_BracePosition_SameLine.txt +9 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_Header.txt +51 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_NoBody.txt +5 -0
- formate_js-0.1.0/tests/specs/declarations/module/ModuleDeclaration_NoBody_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/namespaceExport/TSNamespaceExportDeclaration_All.txt +5 -0
- formate_js-0.1.0/tests/specs/declarations/namespaceExport/TSNamespaceExportDeclaration_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/declarations/typeAlias/TypeAlias_All.txt +24 -0
- formate_js-0.1.0/tests/specs/declarations/using/Using_All.txt +58 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_All.txt +167 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_Comments.txt +90 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_PreferHanging_Always.txt +32 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_PreferSingleLine_True.txt +65 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_SpaceAround_True.txt +6 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_TrailingCommas_Always.txt +30 -0
- formate_js-0.1.0/tests/specs/expressions/ArrayExpression/ArrayExpression_TrailingCommas_OnlyMultiLine.txt +30 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_All.txt +271 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_BracePosition_NextLine.txt +19 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_Cts.txt +10 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_Mts.txt +10 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_PreferHanging_Always.txt +19 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_PreferHanging_Never.txt +17 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_PreferSingleLine_False.txt +30 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_PreferSingleLine_True.txt +23 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_UseParentheses_Force.txt +20 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_UseParentheses_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/expressions/ArrowFunctionExpression/ArrowFunctionExpression_UseParentheses_PreferNone.txt +42 -0
- formate_js-0.1.0/tests/specs/expressions/AsExpression/AsExpression_All.txt +26 -0
- formate_js-0.1.0/tests/specs/expressions/AssignmentExpression/AssignmentExpression_All.txt +59 -0
- formate_js-0.1.0/tests/specs/expressions/AwaitExpression/AwaitExpression_All.txt +17 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_All.txt +288 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_LinePerExpression_True.txt +32 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_LinePerExpression_True_PreferSingleLine_True.txt +46 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_Logical.txt +163 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_OperatorPosition_Maintain.txt +24 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_OperatorPosition_NextLine.txt +56 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_OperatorPosition_SameLine.txt +56 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_PreferSingleLine_True.txt +35 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_SpaceSurroundingOperator_False.txt +6 -0
- formate_js-0.1.0/tests/specs/expressions/BinaryExpression/BinaryExpression_Unary_In.txt +39 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_All.txt +35 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_HangingIndentWithHangingArgs.txt +14 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_PreferHanging_Always.txt +25 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_PreferHanging_Never.txt +53 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_PreferHanging_OnlySingleItem.txt +83 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_PreferSingleLine_False.txt +11 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_PreferSingleLine_True.txt +8 -0
- formate_js-0.1.0/tests/specs/expressions/CallExpression/CallExpression_TestLibraries.txt +101 -0
- formate_js-0.1.0/tests/specs/expressions/ClassExpression/ClassExpression_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/expressions/ClassExpression/ClassExpression_BracePosition_NextLine.txt +53 -0
- formate_js-0.1.0/tests/specs/expressions/ClassExpression/ClassExpression_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/expressions/ClassExpression/ClassExpression_Decorators.txt +108 -0
- formate_js-0.1.0/tests/specs/expressions/ClassExpression/ClassExpression_Header.txt +191 -0
- formate_js-0.1.0/tests/specs/expressions/Computed/Computed_PreferSingleLine_True.txt +8 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_All.txt +122 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_LinePerExpression_False.txt +40 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_OperatorPosition_Maintain.txt +20 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_OperatorPosition_NextLine.txt +44 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_OperatorPosition_SameLine.txt +62 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_PreferSingleLine_False.txt +28 -0
- formate_js-0.1.0/tests/specs/expressions/ConditionalExpression/ConditionalExpression_PreferSingleLine_True.txt +30 -0
- formate_js-0.1.0/tests/specs/expressions/ConstAssertion/ConstAssertion_All.txt +9 -0
- formate_js-0.1.0/tests/specs/expressions/ExpressionWithTypeArguments/ExpressionWithTypeArguments_All.txt +7 -0
- formate_js-0.1.0/tests/specs/expressions/ExternalModuleReference/ExternalModuleReference_All.txt +15 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_All.txt +77 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_BracePosition_NextLine.txt +19 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_PreferHanging_Always.txt +19 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_PreferHanging_Never.txt +19 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_PreferSingleLine_False.txt +29 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_SpaceAfterFunctionKeyword_True.txt +21 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_SpaceBeforeParentheses_True.txt +31 -0
- formate_js-0.1.0/tests/specs/expressions/FunctionExpression/FunctionExpression_SpaceSettings_True.txt +33 -0
- formate_js-0.1.0/tests/specs/expressions/MemberExpression/MemberExpression_All.txt +171 -0
- formate_js-0.1.0/tests/specs/expressions/MemberExpression/MemberExpression_LinePerExpression_True.txt +34 -0
- formate_js-0.1.0/tests/specs/expressions/MemberExpression/MemberExpression_LinePerExpression_True_PreferSingleLine_True.txt +30 -0
- formate_js-0.1.0/tests/specs/expressions/MemberExpression/MemberExpression_PreferSingleLine_True.txt +20 -0
- formate_js-0.1.0/tests/specs/expressions/MemberExpression/MemberExpression_WiderWidth.txt +15 -0
- formate_js-0.1.0/tests/specs/expressions/MetaProperty/MetaProperty_All.txt +17 -0
- formate_js-0.1.0/tests/specs/expressions/NewExpression/NewExpression_All.txt +7 -0
- formate_js-0.1.0/tests/specs/expressions/NewExpression/NewExpression_PreferHanging_Never.txt +35 -0
- formate_js-0.1.0/tests/specs/expressions/NonNullExpression/NonNullExpression_All.txt +5 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_All.txt +81 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_Comments.txt +56 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_PreferHanging_True.txt +38 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_PreferSingleLine_True.txt +38 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_SpaceSurroundingProperties_False.txt +6 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_TrailingCommas_Always.txt +18 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_TrailingCommas_Never.txt +18 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectExpression/ObjectExpression_TrailingCommas_OnlyMultiLine.txt +29 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectMethod/ObjectMethod_All.txt +84 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectMethod/ObjectMethod_PreferHanging_Always.txt +28 -0
- formate_js-0.1.0/tests/specs/expressions/ObjectProperty/ObjectProperty_All.txt +53 -0
- formate_js-0.1.0/tests/specs/expressions/ParenExpr/ParenExpr_All.txt +233 -0
- formate_js-0.1.0/tests/specs/expressions/ParenExpr/ParenExpr_SpaceAround_True.txt +198 -0
- formate_js-0.1.0/tests/specs/expressions/SatisfactionExpression/SatisfactionExpression_All.txt +26 -0
- formate_js-0.1.0/tests/specs/expressions/SequenceExpression/SequenceExpression_All.txt +28 -0
- formate_js-0.1.0/tests/specs/expressions/SequenceExpression/SequenceExpression_PreferHanging_True.txt +7 -0
- formate_js-0.1.0/tests/specs/expressions/SpreadElement/SpreadElement_All.txt +5 -0
- formate_js-0.1.0/tests/specs/expressions/TaggedTemplateExpression/TaggedTemplateExpression_All.txt +55 -0
- formate_js-0.1.0/tests/specs/expressions/TaggedTemplateExpression/TaggedTemplateExpression_SpaceBeforeTemplate_False.txt +34 -0
- formate_js-0.1.0/tests/specs/expressions/TsInstantiation/TsInstantiation_All.txt +35 -0
- formate_js-0.1.0/tests/specs/expressions/TypeAssertion/TypeAssertion_All.txt +17 -0
- formate_js-0.1.0/tests/specs/expressions/TypeAssertion/TypeAssertion_SpaceBeforeExpression_False.txt +8 -0
- formate_js-0.1.0/tests/specs/expressions/UnaryExpression/UnaryExpression_All.txt +19 -0
- formate_js-0.1.0/tests/specs/expressions/UpdateExpression/UpdateExpression_All.txt +11 -0
- formate_js-0.1.0/tests/specs/expressions/YieldExpression/YieldExpression_All.txt +47 -0
- formate_js-0.1.0/tests/specs/file/File_All.txt +24 -0
- formate_js-0.1.0/tests/specs/file/File_IgnoreFileComment.txt +83 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortExportDeclarations_CaseInsensitive.txt +8 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortExportDeclarations_CaseSensitive.txt +8 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortExportDeclarations_Maintain.txt +8 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortImportDeclarations_Alpha.txt +14 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortImportDeclarations_CaseInsensitive.txt +8 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortImportDeclarations_CaseSensitive.txt +8 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortImportDeclarations_Maintain.txt +8 -0
- formate_js-0.1.0/tests/specs/file/sorting/Statements_SortOrder.txt +143 -0
- formate_js-0.1.0/tests/specs/file_indent_level/FileIndentLevel.txt +16 -0
- formate_js-0.1.0/tests/specs/general/Arguments_All.txt +154 -0
- formate_js-0.1.0/tests/specs/general/Arguments_Comments.txt +41 -0
- formate_js-0.1.0/tests/specs/general/Arguments_PreferHanging_True.txt +48 -0
- formate_js-0.1.0/tests/specs/general/Arguments_PreferSingleLine_False.txt +12 -0
- formate_js-0.1.0/tests/specs/general/Arguments_PreferSingleLine_PreferHanging_True.txt +69 -0
- formate_js-0.1.0/tests/specs/general/Arguments_PreferSingleLine_True.txt +39 -0
- formate_js-0.1.0/tests/specs/general/Arguments_SpaceAround_True.txt +51 -0
- formate_js-0.1.0/tests/specs/general/Parameters_All.txt +96 -0
- formate_js-0.1.0/tests/specs/general/Parameters_PreferHanging_True.txt +10 -0
- formate_js-0.1.0/tests/specs/general/Parameters_PreferSingleLine_False.txt +26 -0
- formate_js-0.1.0/tests/specs/general/Parameters_PreferSingleLine_True.txt +81 -0
- formate_js-0.1.0/tests/specs/general/Parameters_SpaceAround_True.txt +18 -0
- formate_js-0.1.0/tests/specs/general/Parentheses_All.txt +114 -0
- formate_js-0.1.0/tests/specs/general/Parentheses_PreferSingleLine_True.txt +69 -0
- formate_js-0.1.0/tests/specs/general/SpaceSurroundingProperties_False.txt +10 -0
- formate_js-0.1.0/tests/specs/issues/issue0011.txt +16 -0
- formate_js-0.1.0/tests/specs/issues/issue0015.txt +30 -0
- formate_js-0.1.0/tests/specs/issues/issue0021.txt +31 -0
- formate_js-0.1.0/tests/specs/issues/issue0022.txt +28 -0
- formate_js-0.1.0/tests/specs/issues/issue0023.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/issue0024.txt +18 -0
- formate_js-0.1.0/tests/specs/issues/issue0025.txt +14 -0
- formate_js-0.1.0/tests/specs/issues/issue0030.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/issue0046.txt +8 -0
- formate_js-0.1.0/tests/specs/issues/issue0047.txt +13 -0
- formate_js-0.1.0/tests/specs/issues/issue0059.txt +18 -0
- formate_js-0.1.0/tests/specs/issues/issue0065.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/issue0085.txt +10 -0
- formate_js-0.1.0/tests/specs/issues/issue0094.txt +50 -0
- formate_js-0.1.0/tests/specs/issues/issue0095.txt +5 -0
- formate_js-0.1.0/tests/specs/issues/issue0103.txt +16 -0
- formate_js-0.1.0/tests/specs/issues/issue0112.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/issue0116.txt +6 -0
- formate_js-0.1.0/tests/specs/issues/issue0122.txt +13 -0
- formate_js-0.1.0/tests/specs/issues/issue0123.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/issue0124.txt +19 -0
- formate_js-0.1.0/tests/specs/issues/issue0127.txt +28 -0
- formate_js-0.1.0/tests/specs/issues/issue0128.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/issue0137.txt +28 -0
- formate_js-0.1.0/tests/specs/issues/issue0139.txt +27 -0
- formate_js-0.1.0/tests/specs/issues/issue0141.txt +49 -0
- formate_js-0.1.0/tests/specs/issues/issue0264.txt +16 -0
- formate_js-0.1.0/tests/specs/issues/issue0265.txt +6 -0
- formate_js-0.1.0/tests/specs/issues/issue0266.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/issue0268_01.txt +14 -0
- formate_js-0.1.0/tests/specs/issues/issue0268_02.txt +17 -0
- formate_js-0.1.0/tests/specs/issues/issue0272.txt +36 -0
- formate_js-0.1.0/tests/specs/issues/issue0276.txt +18 -0
- formate_js-0.1.0/tests/specs/issues/issue0303.txt +24 -0
- formate_js-0.1.0/tests/specs/issues/issue0306.txt +7 -0
- formate_js-0.1.0/tests/specs/issues/issue0312.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/issue0335.txt +10 -0
- formate_js-0.1.0/tests/specs/issues/issue0351.txt +7 -0
- formate_js-0.1.0/tests/specs/issues/issue0359.txt +54 -0
- formate_js-0.1.0/tests/specs/issues/issue0364.txt +110 -0
- formate_js-0.1.0/tests/specs/issues/issue0372.txt +17 -0
- formate_js-0.1.0/tests/specs/issues/issue0382.txt +22 -0
- formate_js-0.1.0/tests/specs/issues/issue0390.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/issue0402.txt +16 -0
- formate_js-0.1.0/tests/specs/issues/issue0403.txt +54 -0
- formate_js-0.1.0/tests/specs/issues/issue0406.txt +21 -0
- formate_js-0.1.0/tests/specs/issues/issue0409.txt +27 -0
- formate_js-0.1.0/tests/specs/issues/issue0413.txt +17 -0
- formate_js-0.1.0/tests/specs/issues/issue0415.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/issue0416.txt +24 -0
- formate_js-0.1.0/tests/specs/issues/issue0421.txt +13 -0
- formate_js-0.1.0/tests/specs/issues/issue0424.txt +16 -0
- formate_js-0.1.0/tests/specs/issues/issue0426.txt +5 -0
- formate_js-0.1.0/tests/specs/issues/issue0440.txt +14 -0
- formate_js-0.1.0/tests/specs/issues/issue0468.txt +19 -0
- formate_js-0.1.0/tests/specs/issues/issue0510.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/issue0511.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/issue0516.txt +37 -0
- formate_js-0.1.0/tests/specs/issues/issue0520.txt +1043 -0
- formate_js-0.1.0/tests/specs/issues/issue0533.txt +20 -0
- formate_js-0.1.0/tests/specs/issues/issue0539.txt +10 -0
- formate_js-0.1.0/tests/specs/issues/issue0556.txt +40 -0
- formate_js-0.1.0/tests/specs/issues/issue0565.txt +17 -0
- formate_js-0.1.0/tests/specs/issues/issue0632.txt +7 -0
- formate_js-0.1.0/tests/specs/issues/issue0650.txt +52 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue022.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue028.txt +19 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue035.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue035_PreferSingleLine.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue036.txt +20 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue046.txt +20 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue051.txt +29 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue062.txt +15 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue066.txt +7 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue067.txt +34 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue083.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue084.txt +15 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue105.txt +43 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue107.txt +14 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue116.txt +24 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue117.txt +5 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue122.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue123.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue124.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue128.txt +14 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue131.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue132.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue133.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue134.txt +18 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue139.txt +10 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue140.txt +47 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue142.txt +5 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue150.txt +9 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue158.txt +54 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue165.txt +32 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue170.txt +23 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue174.txt +28 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue174_PreferHanging.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue175.txt +11 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue179.txt +16 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue180.txt +30 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue183.txt +5 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue197.txt +10 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue199.txt +17 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue201.txt +5 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue212.txt +12 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue217.txt +15 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue219.txt +33 -0
- formate_js-0.1.0/tests/specs/issues/old_repo/issue220.txt +17 -0
- formate_js-0.1.0/tests/specs/jsx/JsxAttribute/JsxAttribute_All.txt +22 -0
- formate_js-0.1.0/tests/specs/jsx/JsxClosingElement/JsxClosingElement_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_All.txt +291 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_ForceNewLineSurroundingContent.txt +31 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_MultiLineParens_Always.txt +250 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_MultiLineParens_Never.txt +124 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_MultiLineParens_Prefer.txt +196 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_PreferSingleLine_True.txt +56 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxElement_Spaces.txt +388 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxOpeningElement_BracketPosition_Maintain.txt +62 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxOpeningElement_BracketPosition_NextLine.txt +63 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxOpeningElement_BracketPosition_SameLine.txt +61 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxSelfClosingElement_BracketPosition_Maintain.txt +48 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxSelfClosingElement_BracketPosition_NextLine.txt +38 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxSelfClosingElement_BracketPosition_SameLine.txt +37 -0
- formate_js-0.1.0/tests/specs/jsx/JsxElement/JsxSelfClosingElement_SpaceBeforeSlash_False.txt +43 -0
- formate_js-0.1.0/tests/specs/jsx/JsxEmptyExpression/JsxEmptyExpression_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxExpressionContainer/JsxExpressionContainer_All.txt +66 -0
- formate_js-0.1.0/tests/specs/jsx/JsxExpressionContainer/JsxExpressionContainer_SpaceSurroundingExpression_True.txt +7 -0
- formate_js-0.1.0/tests/specs/jsx/JsxFragment/JsxClosingFragment_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxFragment/JsxFragment_All.txt +118 -0
- formate_js-0.1.0/tests/specs/jsx/JsxFragment/JsxFragment_MultiLineParens_False.txt +97 -0
- formate_js-0.1.0/tests/specs/jsx/JsxFragment/JsxOpeningFragment_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxMemberExpression/JsxMemberExpression_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxNamespacedName/JsxNamespacedName_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxOpeningElement/JsxOpeningElement_All.txt +152 -0
- formate_js-0.1.0/tests/specs/jsx/JsxOpeningElement/JsxOpeningElement_PreferHanging_True.txt +48 -0
- formate_js-0.1.0/tests/specs/jsx/JsxOpeningElement/JsxOpeningElement_PreferSingleLine_True.txt +49 -0
- formate_js-0.1.0/tests/specs/jsx/JsxOpeningElement/JsxOpeningElement_TypeArguments.txt +34 -0
- formate_js-0.1.0/tests/specs/jsx/JsxSpreadAttribute/JsxSpreadAttribute_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxSpreadChild/JsxSpreadChild_All.txt +6 -0
- formate_js-0.1.0/tests/specs/jsx/JsxText/JsxText_All.txt +72 -0
- formate_js-0.1.0/tests/specs/keywords/Various.txt +5 -0
- formate_js-0.1.0/tests/specs/keywords/import/Import_All.txt +5 -0
- formate_js-0.1.0/tests/specs/literals/BigIntLiteral/BigIntLiteral_All.txt +7 -0
- formate_js-0.1.0/tests/specs/literals/NumericLiteral/NumericLiteral_All.txt +15 -0
- formate_js-0.1.0/tests/specs/literals/RegExpLiteral/RegExpLiteral_All.txt +9 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/DirectiveLiteral_QuoteStyle_AlwaysDouble.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/DirectiveLiteral_QuoteStyle_AlwaysSingle.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/DirectiveLiteral_QuoteStyle_PreferDouble.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/DirectiveLiteral_QuoteStyle_PreferSingle.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/StringLiteral_All.txt +17 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/StringLiteral_QuoteProps_AsNeeded.txt +176 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/StringLiteral_QuoteProps_Consistent.txt +188 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/StringLiteral_QuoteProps_Preserve.txt +138 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/StringLiteral_QuoteStyle_AlwaysDouble_Jsx.txt +7 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteral/StringLiteral_QuoteStyle_AlwaysSingle_Jsx.txt +18 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteralTypeAnnotation/StringLiteralTypeAnnotation_QuoteStyle_AlwaysDouble.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteralTypeAnnotation/StringLiteralTypeAnnotation_QuoteStyle_AlwaysSingle.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteralTypeAnnotation/StringLiteralTypeAnnotation_QuoteStyle_PreferDouble.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/StringLiteralTypeAnnotation/StringLiteralTypeAnnotation_QuoteStyle_PreferSingle.txt +12 -0
- formate_js-0.1.0/tests/specs/literals/TemplateLiteral/TemplateLiteral_All.txt +194 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_All.txt +56 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_PreferHanging_True.txt +11 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_PreferSingleLine_True.txt +25 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_SpaceAround_True.txt +10 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_TrailingCommas_Always.txt +22 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_TrailingCommas_Never.txt +22 -0
- formate_js-0.1.0/tests/specs/patterns/ArrayPattern/ArrayPattern_TrailingCommas_OnlyMultiLine.txt +35 -0
- formate_js-0.1.0/tests/specs/patterns/AssignmentPattern/AssignmentPattern_All.txt +15 -0
- formate_js-0.1.0/tests/specs/patterns/KeyValuePatProp/KeyValuePatProp_All.txt +17 -0
- formate_js-0.1.0/tests/specs/patterns/ObjectPattern/ObjectPattern_All.txt +37 -0
- formate_js-0.1.0/tests/specs/patterns/ObjectPattern/ObjectPattern_PreferHanging_True.txt +23 -0
- formate_js-0.1.0/tests/specs/patterns/ObjectPattern/ObjectPattern_PreferSingleLine_True.txt +35 -0
- formate_js-0.1.0/tests/specs/patterns/ObjectPattern/ObjectPattern_SpaceSurroundingProperties_False.txt +6 -0
- formate_js-0.1.0/tests/specs/patterns/RestPattern/RestPattern_All.txt +13 -0
- formate_js-0.1.0/tests/specs/statements/blockStatement/BlockStatement_All.txt +43 -0
- formate_js-0.1.0/tests/specs/statements/blockStatement/BlockStatement_Comments.txt +83 -0
- formate_js-0.1.0/tests/specs/statements/breakStatement/BreakStatement_All.txt +18 -0
- formate_js-0.1.0/tests/specs/statements/breakStatement/BreakStatement_SemiColons_Asi.txt +9 -0
- formate_js-0.1.0/tests/specs/statements/continueStatement/ContinueStatement_All.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/continueStatement/ContinueStatement_SemiColons_Asi.txt +9 -0
- formate_js-0.1.0/tests/specs/statements/debuggerStatement/DebuggerStatement_All.txt +5 -0
- formate_js-0.1.0/tests/specs/statements/debuggerStatement/DebuggerStatement_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_All.txt +70 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_BracePosition_Maintain.txt +18 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_BracePosition_NextLine.txt +9 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_BracePosition_SameLine.txt +9 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_NextControlFlowPosition_Maintain.txt +22 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_NextControlFlowPosition_NextLine.txt +39 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_NextControlFlowPosition_SameLine.txt +11 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_PreferHanging_True.txt +34 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_SpaceAfterWhileKeyword_False.txt +8 -0
- formate_js-0.1.0/tests/specs/statements/doWhileStatement/DoWhileStatement_SpaceAround_True.txt +12 -0
- formate_js-0.1.0/tests/specs/statements/emptyStatement/EmptyStatement_All.txt +62 -0
- formate_js-0.1.0/tests/specs/statements/exportAssignment/ExportAssignment_All.txt +5 -0
- formate_js-0.1.0/tests/specs/statements/exportAssignment/ExportAssignment_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/statements/expressionStatement/ExpressionStatement_SemiColonInsertion.txt +52 -0
- formate_js-0.1.0/tests/specs/statements/expressionStatement/ExpressionStatement_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_All.txt +89 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_BracePosition_NextLine.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_BracePosition_SameLine.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_PreferHanging_True.txt +26 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_SingleBodyPosition_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_SingleBodyPosition_NextLine.txt +17 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_SingleBodyPosition_SameLine.txt +23 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_SpaceAfterForKeyword_False.txt +12 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_SpaceAround_True.txt +10 -0
- formate_js-0.1.0/tests/specs/statements/forInStatement/ForInStatement_UseBraces_PreferNone.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_All.txt +97 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_BracePosition_NextLine.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_BracePosition_SameLine.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_PreferHanging_True.txt +26 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_SingleBodyPosition_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_SingleBodyPosition_NextLine.txt +17 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_SingleBodyPosition_SameLine.txt +23 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_SpaceAfterForKeyword_False.txt +12 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_SpaceAround_True.txt +10 -0
- formate_js-0.1.0/tests/specs/statements/forOfStatement/ForOfStatement_UseBraces_PreferNone.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_All.txt +156 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_BracePosition_NextLine.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_BracePosition_SameLine.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_PreferHanging_True.txt +40 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_PreferSingleLine_True.txt +16 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SemiColons_Asi.txt +12 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SingleBodyPosition_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SingleBodyPosition_NextLine.txt +17 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SingleBodyPosition_SameLine.txt +23 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SpaceAfterForKeyword_False.txt +12 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SpaceAfterSemiColons_False.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_SpaceAround_True.txt +8 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_UseBraces_Always.txt +15 -0
- formate_js-0.1.0/tests/specs/statements/forStatement/ForStatement_UseBraces_PreferNone.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_All.txt +42 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_BracePosition_Maintain.txt +104 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_BracePosition_NextLine.txt +35 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_BracePosition_SameLine.txt +35 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_Comments.txt +22 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_HeaderComment.txt +86 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_NextControlFlowPosition_Maintain.txt +56 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_NextControlFlowPosition_NextLine.txt +35 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_NextControlFlowPosition_SameLine.txt +14 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_PreferHanging_True.txt +35 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_SingleBodyPosition_Maintain.txt +22 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_SingleBodyPosition_NextLine.txt +25 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_SingleBodyPosition_SameLine.txt +36 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_SpaceAfterIfKeyword_False.txt +12 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_SpaceAround_True.txt +8 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_UseBraces_Always.txt +32 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_UseBraces_Maintain.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_UseBraces_PreferNone_Else.txt +129 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_UseBraces_PreferNone_NoElse.txt +95 -0
- formate_js-0.1.0/tests/specs/statements/ifStatement/IfStatement_UseBraces_WhenNotSingleLine.txt +66 -0
- formate_js-0.1.0/tests/specs/statements/labeledStatement/LabeledStatement_All.txt +81 -0
- formate_js-0.1.0/tests/specs/statements/returnStatement/ReturnStatement_All.txt +19 -0
- formate_js-0.1.0/tests/specs/statements/returnStatement/ReturnStatement_SemiColons_Asi.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/sheBang/SheBang_All.txt +82 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/SwitchStatement_All.txt +51 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/SwitchStatement_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/SwitchStatement_BracePosition_NextLine.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/SwitchStatement_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/SwitchStatement_PreferHanging_True.txt +29 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/SwitchStatement_SpaceAround_True.txt +8 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/switchCase/SwitchCase_All.txt +136 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/switchCase/SwitchCase_BracePosition_Maintain.txt +22 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/switchCase/SwitchCase_BracePosition_NextLine.txt +23 -0
- formate_js-0.1.0/tests/specs/statements/switchStatement/switchCase/SwitchCase_BracePosition_SameLine.txt +21 -0
- formate_js-0.1.0/tests/specs/statements/throwStatement/ThrowStatement_All.txt +5 -0
- formate_js-0.1.0/tests/specs/statements/throwStatement/ThrowStatement_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_All.txt +73 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_BracePosition_Maintain.txt +48 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_BracePosition_NextLine.txt +23 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_BracePosition_SameLine.txt +25 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_NextControlFlowPosition_Maintain.txt +56 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_NextControlFlowPosition_NextLine.txt +17 -0
- formate_js-0.1.0/tests/specs/statements/tryStatement/TryStatement_NextControlFlowPosition_SameLine.txt +17 -0
- formate_js-0.1.0/tests/specs/statements/variableStatement/VariableStatement_All.txt +88 -0
- formate_js-0.1.0/tests/specs/statements/variableStatement/VariableStatement_PreferHanging_True.txt +32 -0
- formate_js-0.1.0/tests/specs/statements/variableStatement/VariableStatement_PreferSingleLine_True.txt +24 -0
- formate_js-0.1.0/tests/specs/statements/variableStatement/VariableStatement_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_All.txt +140 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_BracePosition_Maintain.txt +38 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_BracePosition_NextLine.txt +20 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_BracePosition_SameLine.txt +18 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_PreferHanging_True.txt +37 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_SingleBodyPosition_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_SingleBodyPosition_NextLine.txt +17 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_SingleBodyPosition_SameLine.txt +23 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_SpaceAfterWhileKeyword_False.txt +8 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_SpaceAround_True.txt +8 -0
- formate_js-0.1.0/tests/specs/statements/whileStatement/WhileStatement_UseBraces_PreferNone.txt +20 -0
- formate_js-0.1.0/tests/specs/types/ArrayType/ArrayType_All.txt +14 -0
- formate_js-0.1.0/tests/specs/types/ConditionalType/ConditionalType_All.txt +121 -0
- formate_js-0.1.0/tests/specs/types/ConditionalType/ConditionalType_OperatorPosition_Maintain.txt +15 -0
- formate_js-0.1.0/tests/specs/types/ConditionalType/ConditionalType_OperatorPosition_NextLine.txt +15 -0
- formate_js-0.1.0/tests/specs/types/ConditionalType/ConditionalType_OperatorPosition_SameLine.txt +15 -0
- formate_js-0.1.0/tests/specs/types/ConditionalType/ConditionalType_PreferSingleLine_True.txt +17 -0
- formate_js-0.1.0/tests/specs/types/ConstructorType/ConstructorType_All.txt +32 -0
- formate_js-0.1.0/tests/specs/types/ConstructorType/ConstructorType_PreferHanging_True.txt +35 -0
- formate_js-0.1.0/tests/specs/types/ConstructorType/ConstructorType_SpaceAfterNewKeyword_True.txt +8 -0
- formate_js-0.1.0/tests/specs/types/FunctionType/FunctionType_All.txt +32 -0
- formate_js-0.1.0/tests/specs/types/FunctionType/FunctionType_PreferHanging_True.txt +31 -0
- formate_js-0.1.0/tests/specs/types/ImportType/ImportType_All.txt +28 -0
- formate_js-0.1.0/tests/specs/types/IndexedAccessType/IndexedAccessType_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/InferType/InferType_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/IntersectionType/IntersectionType_All.txt +81 -0
- formate_js-0.1.0/tests/specs/types/IntersectionType/IntersectionType_PreferHanging_True.txt +38 -0
- formate_js-0.1.0/tests/specs/types/IntersectionType/IntersectionType_PreferSingleLine_True.txt +22 -0
- formate_js-0.1.0/tests/specs/types/LitType/LitType_All.txt +15 -0
- formate_js-0.1.0/tests/specs/types/MappedType/MappedType_All.txt +88 -0
- formate_js-0.1.0/tests/specs/types/MappedType/MappedType_PreferSingleLine_True.txt +16 -0
- formate_js-0.1.0/tests/specs/types/MappedType/MappedType_SemiColons_Always.txt +16 -0
- formate_js-0.1.0/tests/specs/types/MappedType/MappedType_SemiColons_Asi.txt +6 -0
- formate_js-0.1.0/tests/specs/types/OptionalType/OptionalType_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/ParenthesizedType/ParenthesizedType_All.txt +87 -0
- formate_js-0.1.0/tests/specs/types/QualifiedName/QualifiedName_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/RestType/RestType_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/ThisType/ThisType_All.txt +11 -0
- formate_js-0.1.0/tests/specs/types/TplLitType/TplLitType_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_All.txt +60 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_PreferHanging_Always.txt +32 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_PreferSingleLine_True.txt +33 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_SpaceAround_True.txt +12 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_TrailingCommas_Always.txt +18 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_TrailingCommas_Never.txt +18 -0
- formate_js-0.1.0/tests/specs/types/TupleType/TupleType_TrailingCommas_OnlyMultiLine.txt +18 -0
- formate_js-0.1.0/tests/specs/types/TupleTypeElement/TupleTypeElement_All.txt +11 -0
- formate_js-0.1.0/tests/specs/types/TypeAnnotation/TypeAnnotation_All.txt +47 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_All.txt +67 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_PreferHanging_True.txt +46 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_PreferSingleLine_True.txt +34 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_SemiColons_Always.txt +18 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_SemiColons_Asi.txt +30 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_SeparatorKind_Comma.txt +16 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_SeparatorKind_CommaSingle_SemiColonMulti.txt +38 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_SeparatorKind_SemiColonSingle_CommaMulti.txt +38 -0
- formate_js-0.1.0/tests/specs/types/TypeLiteral/TypeLiteral_SpaceSurroundingProperties_False.txt +6 -0
- formate_js-0.1.0/tests/specs/types/TypeOperator/TypeOperator_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/TypeParameter/TypeParameter_All.txt +39 -0
- formate_js-0.1.0/tests/specs/types/TypeParameter/TypeParameter_PreferHanging_Always.txt +28 -0
- formate_js-0.1.0/tests/specs/types/TypeParameter/TypeParameter_PreferSingleLine_True.txt +11 -0
- formate_js-0.1.0/tests/specs/types/TypePredicate/TypePredicate_All.txt +54 -0
- formate_js-0.1.0/tests/specs/types/TypeQuery/TypeQuery_All.txt +5 -0
- formate_js-0.1.0/tests/specs/types/TypeReference/TypeReference_All.txt +20 -0
- formate_js-0.1.0/tests/specs/types/UnionType/UnionType_All.txt +186 -0
- formate_js-0.1.0/tests/specs/types/UnionType/UnionType_PreferHanging_True.txt +37 -0
- formate_js-0.1.0/tests/specs/types/UnionType/UnionType_PreferSingleLine_True.txt +22 -0
- formate_js-0.1.0/tests/test_enums.py +14 -0
- formate_js-0.1.0/tests/test_formatting.py +198 -0
- formate_js-0.1.0/tests/test_global_config.py +82 -0
- formate_js-0.1.0/tox.ini +206 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[bumpversion]
|
|
2
|
+
current_version = 0.1.0
|
|
3
|
+
commit = True
|
|
4
|
+
tag = True
|
|
5
|
+
|
|
6
|
+
[bumpversion:file:README.rst]
|
|
7
|
+
|
|
8
|
+
[bumpversion:file:python/formate_js/__init__.py]
|
|
9
|
+
search = : str = "{current_version}"
|
|
10
|
+
replace = : str = "{new_version}"
|
|
11
|
+
|
|
12
|
+
[bumpversion:file:pyproject.toml]
|
|
13
|
+
search = version = "{current_version}"
|
|
14
|
+
replace = version = "{new_version}"
|
|
15
|
+
|
|
16
|
+
[bumpversion:file:Cargo.toml]
|
|
17
|
+
search = version = "{current_version}"
|
|
18
|
+
replace = version = "{new_version}"
|
|
19
|
+
|
|
20
|
+
[bumpversion:file:Cargo.lock]
|
|
21
|
+
search =
|
|
22
|
+
name = "formate-js"
|
|
23
|
+
version = "{current_version}"
|
|
24
|
+
replace =
|
|
25
|
+
name = "formate-js"
|
|
26
|
+
version = "{new_version}"
|
|
27
|
+
|
|
28
|
+
[bumpversion:file:repo_helper.yml]
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
labels: bug
|
|
5
|
+
assignees: domdfcoding
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Have you searched for similar issues? Before submitting this issue, please check the open issues and add a note before logging a new issue.
|
|
10
|
+
|
|
11
|
+
PLEASE USE THE TEMPLATE BELOW TO PROVIDE INFORMATION ABOUT THE ISSUE.
|
|
12
|
+
THE ISSUE WILL BE CLOSED IF INSUFFICIENT INFORMATION IS PROVIDED.
|
|
13
|
+
-->
|
|
14
|
+
|
|
15
|
+
## Description
|
|
16
|
+
<!--Provide a brief description of the issue-->
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Steps to Reproduce
|
|
20
|
+
<!--Please add a series of steps to reproduce the issue.
|
|
21
|
+
|
|
22
|
+
If possible, please include a small, self-contained reproduction.
|
|
23
|
+
-->
|
|
24
|
+
|
|
25
|
+
1.
|
|
26
|
+
2.
|
|
27
|
+
3.
|
|
28
|
+
|
|
29
|
+
## Actual result:
|
|
30
|
+
<!--Please add screenshots if needed and include the Python traceback if present-->
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Expected result:
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## Reproduces how often:
|
|
37
|
+
<!--[Easily reproduced/Intermittent issue/No steps to reproduce]-->
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Version
|
|
41
|
+
|
|
42
|
+
* Operating System:
|
|
43
|
+
* Python:
|
|
44
|
+
* formate-js:
|
|
45
|
+
|
|
46
|
+
## Installation source
|
|
47
|
+
<!-- e.g. GitHub repository, GitHub Releases, PyPI/pip, Anaconda/conda -->
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## Other Additional Information:
|
|
51
|
+
<!--Any additional information, related issues, extra QA steps, configuration or data that might be necessary to reproduce the issue-->
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
labels: "enhancement"
|
|
5
|
+
assignees: domdfcoding
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Have you searched for similar issues? Someone may already be working on the feature you are suggesting. Before submitting this issue, please check the open issues and add a note before logging a new issue.
|
|
10
|
+
-->
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Description
|
|
14
|
+
<!--Provide a clear and concise description of what the problem is and the improvement you are suggesting-->
|
|
15
|
+
|
|
16
|
+
<!--Please add screenshots if needed-->
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Version
|
|
20
|
+
|
|
21
|
+
* Operating System:
|
|
22
|
+
* Python:
|
|
23
|
+
* formate-js:
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Other Additional Information:
|
|
27
|
+
<!--Any additional information, related issues, etc.-->
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
# stdlib
|
|
4
|
+
import os
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
# 3rd party
|
|
8
|
+
from github3 import GitHub
|
|
9
|
+
from github3.repos import Repository
|
|
10
|
+
from packaging.version import InvalidVersion, Version
|
|
11
|
+
|
|
12
|
+
latest_tag = os.environ["GITHUB_REF_NAME"]
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
current_version = Version(latest_tag)
|
|
16
|
+
except InvalidVersion:
|
|
17
|
+
sys.exit()
|
|
18
|
+
|
|
19
|
+
gh: GitHub = GitHub(token=os.environ["GITHUB_TOKEN"])
|
|
20
|
+
repo: Repository = gh.repository(*os.environ["GITHUB_REPOSITORY"].split('/', 1))
|
|
21
|
+
|
|
22
|
+
for milestone in repo.milestones(state="open"):
|
|
23
|
+
try:
|
|
24
|
+
milestone_version = Version(milestone.title)
|
|
25
|
+
except InvalidVersion:
|
|
26
|
+
continue
|
|
27
|
+
if milestone_version == current_version:
|
|
28
|
+
sys.exit(not milestone.update(state="closed"))
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# This file is managed by 'repo_helper'. Don't edit it directly.
|
|
2
|
+
# Configuration for probot-stale - https://github.com/probot/stale
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
|
6
|
+
daysUntilStale: 180
|
|
7
|
+
|
|
8
|
+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
|
9
|
+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
|
10
|
+
daysUntilClose: false
|
|
11
|
+
|
|
12
|
+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
|
|
13
|
+
onlyLabels: []
|
|
14
|
+
|
|
15
|
+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
|
16
|
+
exemptLabels:
|
|
17
|
+
- pinned
|
|
18
|
+
- security
|
|
19
|
+
- "[Status] Maybe Later"
|
|
20
|
+
|
|
21
|
+
# Set to true to ignore issues in a project (defaults to false)
|
|
22
|
+
exemptProjects: false
|
|
23
|
+
|
|
24
|
+
# Set to true to ignore issues in a milestone (defaults to false)
|
|
25
|
+
exemptMilestones: false
|
|
26
|
+
|
|
27
|
+
# Set to true to ignore issues with an assignee (defaults to false)
|
|
28
|
+
exemptAssignees: false
|
|
29
|
+
|
|
30
|
+
# Label to use when marking as stale
|
|
31
|
+
staleLabel: stale
|
|
32
|
+
|
|
33
|
+
# Comment to post when marking as stale. Set to `false` to disable
|
|
34
|
+
markComment: false
|
|
35
|
+
# This issue has been automatically marked as stale because it has not had
|
|
36
|
+
# recent activity. It will be closed if no further activity occurs. Thank you
|
|
37
|
+
# for your contributions.
|
|
38
|
+
|
|
39
|
+
# Comment to post when removing the stale label.
|
|
40
|
+
# unmarkComment: >
|
|
41
|
+
# Your comment here.
|
|
42
|
+
|
|
43
|
+
# Comment to post when closing a stale Issue or Pull Request.
|
|
44
|
+
# closeComment: >
|
|
45
|
+
# Your comment here.
|
|
46
|
+
|
|
47
|
+
# Limit the number of actions per hour, from 1-30. Default is 30
|
|
48
|
+
limitPerRun: 30
|
|
49
|
+
|
|
50
|
+
# Limit to only `issues` or `pulls`
|
|
51
|
+
# only: issues
|
|
52
|
+
|
|
53
|
+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
|
|
54
|
+
# pulls:
|
|
55
|
+
# daysUntilStale: 30
|
|
56
|
+
# markComment: >
|
|
57
|
+
# This pull request has been automatically marked as stale because it has not had
|
|
58
|
+
# recent activity. It will be closed if no further activity occurs. Thank you
|
|
59
|
+
# for your contributions.
|
|
60
|
+
|
|
61
|
+
# issues:
|
|
62
|
+
# exemptLabels:
|
|
63
|
+
# - confirmed
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.10.2
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
- master
|
|
13
|
+
tags:
|
|
14
|
+
- '*'
|
|
15
|
+
pull_request:
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
linux:
|
|
23
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
24
|
+
strategy:
|
|
25
|
+
matrix:
|
|
26
|
+
platform:
|
|
27
|
+
- runner: ubuntu-22.04
|
|
28
|
+
target: x86_64
|
|
29
|
+
- runner: ubuntu-22.04
|
|
30
|
+
target: x86
|
|
31
|
+
- runner: ubuntu-22.04
|
|
32
|
+
target: aarch64
|
|
33
|
+
- runner: ubuntu-22.04
|
|
34
|
+
target: armv7
|
|
35
|
+
- runner: ubuntu-22.04
|
|
36
|
+
target: ppc64le
|
|
37
|
+
steps:
|
|
38
|
+
- uses: actions/checkout@v4
|
|
39
|
+
- uses: actions/setup-python@v5
|
|
40
|
+
with:
|
|
41
|
+
python-version: 3.x
|
|
42
|
+
- name: Build wheels
|
|
43
|
+
uses: PyO3/maturin-action@v1
|
|
44
|
+
with:
|
|
45
|
+
target: ${{ matrix.platform.target }}
|
|
46
|
+
args: --release --out dist --find-interpreter
|
|
47
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
48
|
+
manylinux: auto
|
|
49
|
+
- name: Upload wheels
|
|
50
|
+
uses: actions/upload-artifact@v4
|
|
51
|
+
with:
|
|
52
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
53
|
+
path: dist
|
|
54
|
+
|
|
55
|
+
musllinux:
|
|
56
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
57
|
+
strategy:
|
|
58
|
+
matrix:
|
|
59
|
+
platform:
|
|
60
|
+
- runner: ubuntu-22.04
|
|
61
|
+
target: x86_64
|
|
62
|
+
- runner: ubuntu-22.04
|
|
63
|
+
target: x86
|
|
64
|
+
- runner: ubuntu-22.04
|
|
65
|
+
target: aarch64
|
|
66
|
+
- runner: ubuntu-22.04
|
|
67
|
+
target: armv7
|
|
68
|
+
steps:
|
|
69
|
+
- uses: actions/checkout@v4
|
|
70
|
+
- uses: actions/setup-python@v5
|
|
71
|
+
with:
|
|
72
|
+
python-version: 3.x
|
|
73
|
+
- name: Build wheels
|
|
74
|
+
uses: PyO3/maturin-action@v1
|
|
75
|
+
with:
|
|
76
|
+
target: ${{ matrix.platform.target }}
|
|
77
|
+
args: --release --out dist --find-interpreter
|
|
78
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
79
|
+
manylinux: musllinux_1_2
|
|
80
|
+
- name: Upload wheels
|
|
81
|
+
uses: actions/upload-artifact@v4
|
|
82
|
+
with:
|
|
83
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
84
|
+
path: dist
|
|
85
|
+
|
|
86
|
+
windows:
|
|
87
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
88
|
+
strategy:
|
|
89
|
+
matrix:
|
|
90
|
+
platform:
|
|
91
|
+
- runner: windows-latest
|
|
92
|
+
target: x64
|
|
93
|
+
- runner: windows-latest
|
|
94
|
+
target: x86
|
|
95
|
+
steps:
|
|
96
|
+
- uses: actions/checkout@v4
|
|
97
|
+
- uses: actions/setup-python@v5
|
|
98
|
+
with:
|
|
99
|
+
python-version: 3.x
|
|
100
|
+
architecture: ${{ matrix.platform.target }}
|
|
101
|
+
- name: Build wheels
|
|
102
|
+
uses: PyO3/maturin-action@v1
|
|
103
|
+
with:
|
|
104
|
+
target: ${{ matrix.platform.target }}
|
|
105
|
+
args: --release --out dist --find-interpreter
|
|
106
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
107
|
+
- name: Upload wheels
|
|
108
|
+
uses: actions/upload-artifact@v4
|
|
109
|
+
with:
|
|
110
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
111
|
+
path: dist
|
|
112
|
+
|
|
113
|
+
macos:
|
|
114
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
115
|
+
strategy:
|
|
116
|
+
matrix:
|
|
117
|
+
platform:
|
|
118
|
+
- runner: macos-15-intel
|
|
119
|
+
target: x86_64
|
|
120
|
+
- runner: macos-14
|
|
121
|
+
target: aarch64
|
|
122
|
+
steps:
|
|
123
|
+
- uses: actions/checkout@v4
|
|
124
|
+
- uses: actions/setup-python@v5
|
|
125
|
+
with:
|
|
126
|
+
python-version: 3.x
|
|
127
|
+
- name: Build wheels
|
|
128
|
+
uses: PyO3/maturin-action@v1
|
|
129
|
+
with:
|
|
130
|
+
target: ${{ matrix.platform.target }}
|
|
131
|
+
args: --release --out dist --find-interpreter
|
|
132
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
133
|
+
- name: Upload wheels
|
|
134
|
+
uses: actions/upload-artifact@v4
|
|
135
|
+
with:
|
|
136
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
137
|
+
path: dist
|
|
138
|
+
|
|
139
|
+
sdist:
|
|
140
|
+
runs-on: ubuntu-latest
|
|
141
|
+
steps:
|
|
142
|
+
- uses: actions/checkout@v4
|
|
143
|
+
- name: Build sdist
|
|
144
|
+
uses: PyO3/maturin-action@v1
|
|
145
|
+
with:
|
|
146
|
+
command: sdist
|
|
147
|
+
args: --out dist
|
|
148
|
+
- name: Upload sdist
|
|
149
|
+
uses: actions/upload-artifact@v4
|
|
150
|
+
with:
|
|
151
|
+
name: wheels-sdist
|
|
152
|
+
path: dist
|
|
153
|
+
|
|
154
|
+
release:
|
|
155
|
+
name: Release
|
|
156
|
+
runs-on: ubuntu-latest
|
|
157
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
158
|
+
needs: [linux, musllinux, windows, macos, sdist]
|
|
159
|
+
permissions:
|
|
160
|
+
# Use to sign the release artifacts
|
|
161
|
+
id-token: write
|
|
162
|
+
# Used to upload release artifacts
|
|
163
|
+
contents: write
|
|
164
|
+
# Used to generate artifact attestation
|
|
165
|
+
attestations: write
|
|
166
|
+
steps:
|
|
167
|
+
- name: Checkout 🛎️
|
|
168
|
+
uses: "actions/checkout@v4"
|
|
169
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
170
|
+
|
|
171
|
+
- name: Setup Python 🐍
|
|
172
|
+
uses: "actions/setup-python@v5"
|
|
173
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
174
|
+
with:
|
|
175
|
+
python-version: 3.8
|
|
176
|
+
|
|
177
|
+
- name: Install dependencies 🔧
|
|
178
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
179
|
+
run: |
|
|
180
|
+
python -m pip install --upgrade pip setuptools wheel
|
|
181
|
+
python -m pip install --upgrade tox~=3.0
|
|
182
|
+
|
|
183
|
+
- uses: actions/download-artifact@v4
|
|
184
|
+
- name: Generate artifact attestation
|
|
185
|
+
uses: actions/attest-build-provenance@v2
|
|
186
|
+
with:
|
|
187
|
+
subject-path: 'wheels-*/*'
|
|
188
|
+
|
|
189
|
+
- name: Upload distribution to PyPI 🚀
|
|
190
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
191
|
+
uses: PyO3/maturin-action@v1
|
|
192
|
+
env:
|
|
193
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
194
|
+
with:
|
|
195
|
+
command: upload
|
|
196
|
+
args: --non-interactive --skip-existing wheels-*/*
|
|
197
|
+
|
|
198
|
+
- name: Close milestone 🚪
|
|
199
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
200
|
+
run: |
|
|
201
|
+
python -m pip install --upgrade github3.py packaging
|
|
202
|
+
python .github/milestones.py
|
|
203
|
+
env:
|
|
204
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# This file is managed by 'repo_helper'. Don't edit it directly.
|
|
2
|
+
---
|
|
3
|
+
name: Flake8
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches-ignore:
|
|
8
|
+
- 'repo-helper-update'
|
|
9
|
+
- 'pre-commit-ci-update-config'
|
|
10
|
+
- 'imgbot'
|
|
11
|
+
pull_request:
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
Run:
|
|
15
|
+
name: "Flake8"
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
runs-on: "ubuntu-22.04"
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- name: Checkout 🛎️
|
|
22
|
+
uses: "actions/checkout@v4"
|
|
23
|
+
with:
|
|
24
|
+
submodules: True
|
|
25
|
+
|
|
26
|
+
- name: Check for changed files
|
|
27
|
+
uses: dorny/paths-filter@v2
|
|
28
|
+
id: changes
|
|
29
|
+
with:
|
|
30
|
+
list-files: "json"
|
|
31
|
+
filters: |
|
|
32
|
+
code:
|
|
33
|
+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
|
|
34
|
+
|
|
35
|
+
- name: Setup Python 🐍
|
|
36
|
+
if: steps.changes.outputs.code == 'true'
|
|
37
|
+
uses: "actions/setup-python@v5"
|
|
38
|
+
with:
|
|
39
|
+
python-version: "3.9"
|
|
40
|
+
|
|
41
|
+
- name: Install dependencies 🔧
|
|
42
|
+
if: steps.changes.outputs.code == 'true'
|
|
43
|
+
run: |
|
|
44
|
+
python -VV
|
|
45
|
+
python -m site
|
|
46
|
+
python -m pip install --upgrade pip setuptools wheel
|
|
47
|
+
python -m pip install tox~=3.0
|
|
48
|
+
|
|
49
|
+
- name: "Run Flake8"
|
|
50
|
+
if: steps.changes.outputs.code == 'true'
|
|
51
|
+
run: "python -m tox -e lint -s false -- --format github"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# This file is managed by 'repo_helper'. Don't edit it directly.
|
|
2
|
+
---
|
|
3
|
+
name: mypy
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches-ignore:
|
|
8
|
+
- 'repo-helper-update'
|
|
9
|
+
- 'pre-commit-ci-update-config'
|
|
10
|
+
- 'imgbot'
|
|
11
|
+
pull_request:
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
Run:
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
name: "mypy / ${{ matrix.os }}"
|
|
18
|
+
runs-on: ${{ matrix.os }}
|
|
19
|
+
|
|
20
|
+
strategy:
|
|
21
|
+
matrix:
|
|
22
|
+
os: ['ubuntu-22.04', 'windows-2022']
|
|
23
|
+
fail-fast: false
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout 🛎️
|
|
27
|
+
uses: "actions/checkout@v4"
|
|
28
|
+
with:
|
|
29
|
+
submodules: True
|
|
30
|
+
|
|
31
|
+
- name: Check for changed files
|
|
32
|
+
uses: dorny/paths-filter@v2
|
|
33
|
+
id: changes
|
|
34
|
+
with:
|
|
35
|
+
list-files: "json"
|
|
36
|
+
filters: |
|
|
37
|
+
code:
|
|
38
|
+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
|
|
39
|
+
|
|
40
|
+
- name: Setup Python 🐍
|
|
41
|
+
if: steps.changes.outputs.code == 'true'
|
|
42
|
+
uses: "actions/setup-python@v5"
|
|
43
|
+
with:
|
|
44
|
+
python-version: "3.9"
|
|
45
|
+
|
|
46
|
+
- name: Install dependencies 🔧
|
|
47
|
+
run: |
|
|
48
|
+
python -VV
|
|
49
|
+
python -m site
|
|
50
|
+
python -m pip install --upgrade pip setuptools wheel
|
|
51
|
+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
|
|
52
|
+
|
|
53
|
+
- name: "Run mypy"
|
|
54
|
+
if: steps.changes.outputs.code == 'true'
|
|
55
|
+
run: "python -m tox -e mypy -s false"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file is managed by 'repo_helper'. Don't edit it directly.
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
name: "GitHub Releases"
|
|
5
|
+
on:
|
|
6
|
+
schedule:
|
|
7
|
+
- cron: 0 12 * * *
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
Run:
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: domdfcoding/octocheese@master
|
|
16
|
+
with:
|
|
17
|
+
pypi_name: "formate-js"
|
|
18
|
+
env:
|
|
19
|
+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
20
|
+
if: startsWith(github.ref, 'refs/tags/') != true
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# This file is managed by 'repo_helper'. Don't edit it directly.
|
|
2
|
+
---
|
|
3
|
+
name: Windows
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches-ignore:
|
|
8
|
+
- 'repo-helper-update'
|
|
9
|
+
- 'pre-commit-ci-update-config'
|
|
10
|
+
- 'imgbot'
|
|
11
|
+
|
|
12
|
+
pull_request:
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
actions: write
|
|
16
|
+
issues: write
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
tests:
|
|
21
|
+
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
|
|
22
|
+
runs-on: "windows-2022"
|
|
23
|
+
continue-on-error: ${{ matrix.config.experimental }}
|
|
24
|
+
env:
|
|
25
|
+
USING_COVERAGE: '3.8,3.9,3.10,3.11,3.12,3.13'
|
|
26
|
+
|
|
27
|
+
strategy:
|
|
28
|
+
fail-fast: False
|
|
29
|
+
matrix:
|
|
30
|
+
config:
|
|
31
|
+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
|
|
32
|
+
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
|
|
33
|
+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
|
|
34
|
+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
|
|
35
|
+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
|
|
36
|
+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
|
|
37
|
+
|
|
38
|
+
steps:
|
|
39
|
+
- name: Checkout 🛎️
|
|
40
|
+
uses: "actions/checkout@v4"
|
|
41
|
+
|
|
42
|
+
- name: Check for changed files
|
|
43
|
+
if: startsWith(github.ref, 'refs/tags/') != true
|
|
44
|
+
uses: dorny/paths-filter@v2
|
|
45
|
+
id: changes
|
|
46
|
+
with:
|
|
47
|
+
list-files: "json"
|
|
48
|
+
filters: |
|
|
49
|
+
code:
|
|
50
|
+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
|
|
51
|
+
|
|
52
|
+
- name: Setup Python 🐍
|
|
53
|
+
id: setup-python
|
|
54
|
+
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
|
|
55
|
+
uses: "actions/setup-python@v5"
|
|
56
|
+
with:
|
|
57
|
+
python-version: "${{ matrix.config.python-version }}"
|
|
58
|
+
|
|
59
|
+
- name: Install dependencies 🔧
|
|
60
|
+
if: steps.setup-python.outcome == 'success'
|
|
61
|
+
run: |
|
|
62
|
+
python -VV
|
|
63
|
+
python -m site
|
|
64
|
+
python -m pip install --upgrade pip setuptools wheel
|
|
65
|
+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
|
|
66
|
+
|
|
67
|
+
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
|
|
68
|
+
if: steps.setup-python.outcome == 'success'
|
|
69
|
+
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# This file is managed by 'repo_helper'. Don't edit it directly.
|
|
2
|
+
---
|
|
3
|
+
name: Linux
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches-ignore:
|
|
8
|
+
- 'repo-helper-update'
|
|
9
|
+
- 'pre-commit-ci-update-config'
|
|
10
|
+
- 'imgbot'
|
|
11
|
+
tags:
|
|
12
|
+
- '*'
|
|
13
|
+
pull_request:
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
actions: write
|
|
17
|
+
issues: write
|
|
18
|
+
contents: read
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
tests:
|
|
22
|
+
name: "ubuntu-22.04 / Python ${{ matrix.config.python-version }}"
|
|
23
|
+
runs-on: "ubuntu-22.04"
|
|
24
|
+
continue-on-error: ${{ matrix.config.experimental }}
|
|
25
|
+
env:
|
|
26
|
+
USING_COVERAGE: '3.8,3.9,3.10,3.11,3.12,3.13'
|
|
27
|
+
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: False
|
|
30
|
+
matrix:
|
|
31
|
+
config:
|
|
32
|
+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
|
|
33
|
+
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
|
|
34
|
+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
|
|
35
|
+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
|
|
36
|
+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
|
|
37
|
+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- name: Checkout 🛎️
|
|
41
|
+
uses: "actions/checkout@v4"
|
|
42
|
+
|
|
43
|
+
- name: Check for changed files
|
|
44
|
+
if: startsWith(github.ref, 'refs/tags/') != true
|
|
45
|
+
uses: dorny/paths-filter@v2
|
|
46
|
+
id: changes
|
|
47
|
+
with:
|
|
48
|
+
list-files: "json"
|
|
49
|
+
filters: |
|
|
50
|
+
code:
|
|
51
|
+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
|
|
52
|
+
|
|
53
|
+
- name: Setup Python 🐍
|
|
54
|
+
id: setup-python
|
|
55
|
+
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
|
|
56
|
+
uses: "actions/setup-python@v5"
|
|
57
|
+
with:
|
|
58
|
+
python-version: "${{ matrix.config.python-version }}"
|
|
59
|
+
|
|
60
|
+
- name: Install dependencies 🔧
|
|
61
|
+
if: steps.setup-python.outcome == 'success'
|
|
62
|
+
run: |
|
|
63
|
+
python -VV
|
|
64
|
+
python -m site
|
|
65
|
+
python -m pip install --upgrade pip setuptools wheel
|
|
66
|
+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
|
|
67
|
+
|
|
68
|
+
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
|
|
69
|
+
if: steps.setup-python.outcome == 'success'
|
|
70
|
+
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
|