wikimedia / eslint-plugin-no-jquery

Control allowance of certain jQuery functions, and suggest or autofix alternatives.
MIT License
31 stars 8 forks source link

Add an EditorConfig config file #105

Closed stof closed 5 years ago

stof commented 5 years ago

This improves the contributor experience for anyone using an editor supporting EditorConfig (all code editors I know of support it either built-in or through a plugin).

For instance, my IDE is configured to use spaces for indentation by default, as this is the coding standard in my own projects. With this EditorConfig file, it will automatically switch to tabs when working on this project, instead of using spaces until I manually change the config (after figuring it out).