Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.35 KB

Repair-FileEditorConfig.md

File metadata and controls

59 lines (41 loc) · 1.35 KB
external help file Module Name online version schema
Detextive.dll-Help.xml
Detextive
2.0.0

Repair-FileEditorConfig

SYNOPSIS

Corrects a file's editorconfig settings when they differ from the actual formatting found.

SYNTAX

Repair-FileEditorConfig [-Path] <String> [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

Repair-FileEditorConfig README.md

Corrects the encoding, indents, and line endings if they differ from the editorconfig settings for the file.

PARAMETERS

-Path

A file to fix the editorconfig values for.

Type: String
Parameter Sets: (All)
Aliases: FullName

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Any object with a Path or FullName property to use for a file location.

OUTPUTS

NOTES

RELATED LINKS