til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Use EditorConfig

There are several implementations I currently use: editorconfig-checker/action-editorconfig-checker

The GitHub Action uses ec (editorconfig-checker) an alternative to eclint, it is currently actively maintained, whereas eclint has been archived and is not longer actively maintained, it is probably still very usefull, but at some point an actively developed project might be of more value.

My used configuration:

name: EditorConfig Action
on: push

jobs:
  build:
    name: EditorConfig lint
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: editorconfig-checker/action-editorconfig-checker@v1
      name: Testing using editorconfig-checker

Resources and References