diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..f3b46a422 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..182a7ce94 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,16 @@ +name: Pull request + +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + soundness: + name: Soundness + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main + with: + docs_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/704 + format_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/702 + license_header_check_enabled: false # feature: https://github.com/swiftlang/github-workflows/issues/78 + license_header_check_project_name: "Swift Argument Parser" # bug: https://github.com/swiftlang/github-workflows/issues/76 + shell_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/703 diff --git a/.spi.yml b/.spi.yml index d6794d77b..88e31ec33 100644 --- a/.spi.yml +++ b/.spi.yml @@ -2,4 +2,3 @@ version: 1 builder: configs: - documentation_targets: [ArgumentParser] - diff --git a/.unacceptablelanguageignore b/.unacceptablelanguageignore new file mode 100644 index 000000000..3c4e6453e --- /dev/null +++ b/.unacceptablelanguageignore @@ -0,0 +1,2 @@ +# Ignore this file which references the "master" branch of another repo +Tools/generate-manual/MDoc/MDocMacro.swift