OpenEnergyDashboard / OED

Open Energy Dashboard (OED)
Mozilla Public License 2.0
75 stars 263 forks source link

style: Fix whitespace and quotes formatting #1086

Closed hyperupcall closed 10 months ago

hyperupcall commented 10 months ago

Description

When using the ESLint VScode extension, many files will have red squigly lines, which represent formatting errors. This may be a source of confusion for people new to the codebase.

Additionally, the EditorConfig file is not configured to configure an indent_type space for files that require it or should use it, such as yaml and markdown.

This fixes both of those situations, fixing the inconsistent whitespace.

Related to #879 (f9d328c965186ac3b910143c94c76b3b9c7b226f, e35768e5691eb130c6c38c2fb797f3bdad806002, and a4e02448709b0b72d31b0a518937096b8629bafb)

Type of change

Checklist

Limitations

N/A

huss commented 10 months ago

Note the CodeQL error is not new and needs to be dealt without outside this pull request.