leslie-tsang opened a new issue #5346:
URL: https://github.com/apache/apisix/issues/5346


   ### Issue description
   
   [EditorConfig](https://editorconfig.org/) helps maintain consistent coding 
styles for multiple developers working on the same project across various 
editors and IDEs.
   We can add a `.editorconfig` like below to help maintainer to defining 
coding styles
   ```bash
   root = true
   
   [*]
   charset = utf-8
   end_of_line = lf
   insert_final_newline = true
   trim_trailing_whitespace = true
   
   
   [Makefile]
   indent_style = tab
   
   
   [*.{lua,sh}]
   indent_style = space
   indent_size = 4
   ```
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to