realm / realm/SwiftLint

Option to enforce custom IDETemplateMacros.plist for file headers instead of mirroring it as a required_pattern

Open
#5,651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
19.7k
Forks
2.3k
Avg merge
1d 1h
Merged PRs (30d)
11

Description

New Issue Checklist
New rule request

As most people will couple custom IDETemplateMacros.plist's FILEHEADER with SwiftLint as described here. It would be nice if we could skip mirroring it in opt_in_rules's -file_header:required_pattern: and point to the plist file directly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the custom IDETemplateMacros.plist FILEHEADER setup and SwiftLint's existing file_header required_pattern configuration. Define done as allowing the plist path to be used directly so users no longer mirror the pattern in opt_in_rules; verify the behavior against the existing configuration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.