Added .editorconfig rules for hooks.
Added .editorconfig rules for scripts.