Skip to content

fix: exempt .mjs and .cjs from indent-size checks in shared .editorconfig - #165

Open
vector-arrow wants to merge 1 commit into
mainfrom
fix/editorconfig-mjs-cjs
Open

fix: exempt .mjs and .cjs from indent-size checks in shared .editorconfig#165
vector-arrow wants to merge 1 commit into
mainfrom
fix/editorconfig-mjs-cjs

Conversation

@vector-arrow

Copy link
Copy Markdown
Contributor

Problem

src/templates/all/.editorconfig exempts *.js from indent_size, but not *.mjs or *.cjs. Those extensions match no rule in the file, so they fall through to [*] (indent_size = 4). The result: identical code passes as script.js and fails as script.mjs.

Because .editorconfig is in the files local in src/main.tf (managed, overwritten on every sync), downstream repos cannot fix this locally — any edit is reverted on the next sync.

Change

-[{*.js,*.css,Cargo.lock}]
+[{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
 indent_size = unset

One line. .mjs/.cjs are plain JavaScript with an explicit module type (ESM / CommonJS) — not a different language, and nothing in the file suggests a deliberate stance on module syntax. The group already contains Cargo.lock, so it is a "files whose indentation we don't police" bucket rather than a language grouping.

Repos affected today

Repo Files Status
Arrow-air/website 4 .mjs under scripts/ 47 checker errors; Code Style red on every PR against the default branch
Arrow-air/project-flight-tracking frontend/tailwind.config.cjs 2-space indented, no .editorconfig-checker.json exclusion

The project-flight-tracking hit is why .cjs is included rather than just .mjs.

Note for anyone hitting this downstream

Two of the website's .mjs files are code generators holding the emitted file in a template literal — gen-bounty-form.mjs emits a GitHub issue-form YAML and gen-discipline-icons.mjs emits a TSX component, both necessarily 2-space. All 93 violating lines are inside those template literals; none are the scripts' own code. Reformatting them to 4-space would have corrupted the generated bounty form, since YAML indentation is semantic. Check for that pattern before reformatting anything on an .mjs checker failure.

Verification

Nothing meaningful runs in tf-github — the template is inert data. Verify downstream after sync: make editorconfig-test in Arrow-air/website (or npx --yes editorconfig-checker without Docker) should go from 47 errors to clean. No file other than *.mjs/*.cjs changes status.

Follow-ups

  • Once this syncs, the stopgap excludes in fix: unbreak all three sanity checks on staging website#193 can be removed.
  • Separate, unrelated: the ## DO NOT EDIT! header is applied to seeded_files too (e.g. .cspell.config.yaml), where it's misleading — those are repo-owned after creation. Happy to open that as its own PR if wanted; deliberately not bundled here.

🤖 Generated with Claude Code

.mjs and .cjs are plain JavaScript with an explicit module type (ESM /
CommonJS). They matched no rule and fell through to [*] (indent_size = 4),
while *.js is explicitly unset — so identical code passed as script.js and
failed as script.mjs.

Affected today:
  - Arrow-air/website: 4 .mjs scripts, 47 editorconfig-checker errors
  - Arrow-air/project-flight-tracking: frontend/tailwind.config.cjs (2-space,
    no local exclusion)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vector-arrow
vector-arrow requested a review from a team as a code owner July 29, 2026 16:45
@cla-bot cla-bot Bot added the cla-signed label Jul 29, 2026
@github-actions

Copy link
Copy Markdown

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output
Success! The configuration is valid.


Terraform Plan 📖success

Show Plan
terraform

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.repository["HearHear"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "HearHear/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["HearHear-Webapp"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "HearHear-Webapp/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["arrow-catalog"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "arrow-catalog/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["arrow-crm"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "arrow-crm/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["arrow-store"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "arrow-store/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["cla-bot"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "cla-bot/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["clabot-config"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "clabot-config/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["dao-aips"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "dao-aips/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["dao-gbc"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "dao-gbc/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["dao-governance"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "dao-governance/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["tools"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "tools/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository["website"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "website/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod["caribou"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "project-caribou/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod["feather"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "project-feather/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod["flight-tracking"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "project-flight-tracking/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod["longshot"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "project-longshot/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod["quiver"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "project-quiver/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod["spearhead"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "project-spearhead/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_pod_template["project"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "pod-template-project/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_tf["github"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "tf-github/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_tf["onboarding"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "tf-onboarding/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_tf_gcp["organization"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "tf-gcp-organization/.editorconfig"
        # (8 unchanged attributes hidden)
    }

  # module.repository_tf_mod["google-automation-setup"].github_repository_file.files[".editorconfig"] will be updated in-place
  ~ resource "github_repository_file" "files" {
      ~ content             = <<-EOT
            ## DO NOT EDIT!
            # This file was provisioned by Terraform
            # File origin: https://github.com/Arrow-air/tf-github/tree/main/src/templates/all/.editorconfig
            root = true
            [*]
            end_of_line = lf
            charset = utf-8
            trim_trailing_whitespace = true
            insert_final_newline = true
            indent_style = space
            indent_size = 4
            [{*.md,*.mdx,LICENSE*}]
            # double whitespace at end of line
            # denotes a line break in Markdown
            indent_size = off
            trim_trailing_whitespace = false
            [*.rs]
            trim_trailing_whitespace = false
            indent_style = space
            indent_size = 4
            [{Makefile*,*.mk,*.sh}]
            indent_style = tab
            indent_size = 4
            [{*.ts,*.tsx,*.html,*.yml,*.yaml,*.toml,*.json,*.tf,*.hcl}]
            indent_size = 2
            # we might want to use https://www.npmjs.com/package/lintspaces instead, we can't lint the css and js comments atm
          - [{*.js,*.css,Cargo.lock}]
          + [{*.js,*.mjs,*.cjs,*.css,Cargo.lock}]
            indent_size = unset
        EOT
        id                  = "terraform-google-automation-setup/.editorconfig"
        # (8 unchanged attributes hidden)
    }

Plan: 0 to add, 23 to change, 0 to destroy.

Pusher: @vector-arrow, Action: pull_request, Working Directory: ``, Workflow: Terraform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant