All Projects → sindresorhus → swiftlint-config

sindresorhus / swiftlint-config

Licence: CC0-1.0 license
Good starter config for SwiftLint

Projects that are alternatives of or similar to swiftlint-config

gandalf-lint
Bad Code Shall Not Pass
Stars: ✭ 29 (-14.71%)
Mutual labels:  linter-config
jetrockets-standard
Standard RuboCop configuration for JetRockets with cookies
Stars: ✭ 14 (-58.82%)
Mutual labels:  linter-config
eslint-config
🚀 Jetrockets Standarts | ESLint
Stars: ✭ 20 (-41.18%)
Mutual labels:  linter-config
eslint-config-mingelz
A shared ESLint configuration with Chinese comments. 一份带有完整中文注释的 ESLint 规则。
Stars: ✭ 15 (-55.88%)
Mutual labels:  linter-config
Notflix
📱Netflix like application using SwiftUI and Combine
Stars: ✭ 76 (+123.53%)
Mutual labels:  swiftlint
Swift-Coding-Guidelines
A repository to collect best practices when programming with Swift
Stars: ✭ 17 (-50%)
Mutual labels:  swiftlint
netflix-like-ios
Application to demonstrate how I develop an iOS App with VIPER architecture in 5 days (Swift only)
Stars: ✭ 30 (-11.76%)
Mutual labels:  swiftlint
YTLiveStreaming
YTLiveStreaming is a framework for creating live broadcasts and video streams on YouTube using the YouTube Live Streaming API (YouTube Data API v3) in Swift 5 with Xcode 11 and later
Stars: ✭ 82 (+141.18%)
Mutual labels:  swiftlint
ToDo-App
Manage your chores with this ToDo-App in Swift
Stars: ✭ 27 (-20.59%)
Mutual labels:  swiftlint
GitHubSearch
GitHub iOS client with minimum third-party dependencies.
Stars: ✭ 34 (+0%)
Mutual labels:  swiftlint
danger-plugin-lint-report
No description or website provided.
Stars: ✭ 17 (-50%)
Mutual labels:  swiftlint
vscode-linter
Extension for code linting, all in one package. New linters can be easily added through an extension framework.
Stars: ✭ 47 (+38.24%)
Mutual labels:  swiftlint
deepin-snazzy
Elegant Deepin Terminal theme with bright colors.
Stars: ✭ 38 (+11.76%)
Mutual labels:  sindresorhus

swiftlint-config

Good starter config for SwiftLint

SwiftLint has a lot of rules and it takes time to adjust them to something sensible. You probably don't want exactly what I have, but this should be a good starting point. This is what I use for all my Swift projects.

Usage

  1. Create a .swiftlint.yml file in the root of your project with the following:
parent_config: https://raw.githubusercontent.com/sindresorhus/swiftlint-config/main/.swiftlint.yml

(Replace main with a specific commit hash if you want predictable builds)

  1. Follow the SwiftLint setup instructions.

Badge

Show off that you're using this config.

[![sindresorhus's SwiftLint config](https://img.shields.io/badge/SwiftLint-sindresorhus-hotpink.svg)](https://github.com/sindresorhus/swiftlint-config)

sindresorhus's SwiftLint config

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].