notslang / editorconfig-tools

Tools for verifying/fixing code style based on an EditorConfig file
https://npmjs.com/package/editorconfig-tools
GNU General Public License v3.0
54 stars 6 forks source link

How to lint shebang'ed files without a file extension? #33

Open mcandre opened 7 years ago

mcandre commented 7 years ago

How should I configure and lint shell scripts like hello that feature a shebang (#!/usr/bin/env fish) but no file extension?

Does editorconfig-tools support this?

What kind of syntax should I use in my .editorconfig to configure fish-shebanged files for certain style rules?