You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class_name_suffix_collection_view_controller:
included: ".*\.swift"regex: 'class +\w+(?<!CollectionViewController) *(?:<[^>]+>)? *: +\w+CollectionViewController'name: "Class Name Suffix View Controller"message: "All `CollectionViewController` subclasses should end on `CollectionViewController`."severity: warning
to something like this:
// MARK: ClassNameSuffixCollectionViewControllertryLint.checkFileContents(
checkInfo:"ClassNameSuffixCollectionViewController: All `CollectionViewController` subclasses should end on `CollectionViewController`.",
regex:#"class +\w+(?<!CollectionViewController) *(?:<[^>]+>)? *: +\w+CollectionViewController"#,
matchingExamples:[],// TODO: [2020-04-21] not yet implemented
nonMatchingExamples:[],// TODO: [2020-04-21] not yet implemented
includeFilters:#".*\.swift"#)
The text was updated successfully, but these errors were encountered:
Consider showing a warning before doing the conversion with a hint that all SwiftLint rules that only work on specific kinds of Swift structures (e.g. only methods) might not work as expected. Consider adding a warning comment in the converted AnyLint configuration file. Also warn the user to make sure they have committed their code before running the new configuration file.
Such a converter could transform this:
to something like this:
The text was updated successfully, but these errors were encountered: