Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .editorconfig #1561

Closed
meetwudi opened this issue Jul 14, 2014 · 8 comments
Closed

Add .editorconfig #1561

meetwudi opened this issue Jul 14, 2014 · 8 comments

Comments

@meetwudi
Copy link

It will be nice if .editorconfig is included by default in the project folder, which is good for team collaboration. You can specify indentation regulations etc.

@mathiasbynens
Copy link
Member

It would then have to be blocked in the .htaccess (or similar for non-Apache servers) to prevent file path disclosure vulnerabilities, though.

@alrra
Copy link
Member

alrra commented Jul 14, 2014

Previous discussion: #1124.

@alrra
Copy link
Member

alrra commented Jul 14, 2014

It would then have to be blocked in the .htaccess

@mathiasbynens since it is a hidden file, access to it will be forbidden.

@mathiasbynens
Copy link
Member

@alrra Yes. Hopefully everyone who uses HTML5 Boilerplate also uses the server configs!

@sindresorhus
Copy link
Member

👍

@jonathantneal
Copy link
Member

@alrra or anyone available, review and merge?

@alrra
Copy link
Member

alrra commented Jul 18, 2014

review

@jonathantneal done.

merge

@jonathantneal let's wait a few more days and see what people think about this addition.

Closing this in favor of #1564.

@alrra alrra closed this as completed Jul 18, 2014
jonathantneal pushed a commit to jonathantneal/html5-boilerplate that referenced this issue Jul 19, 2014
alrra pushed a commit that referenced this issue Jul 19, 2014
The addition of the `/.editorconfig` file is made in order to
encourage and help developers and their teams define and maintain
consistent coding styles between their different editors and IDEs.

By default, the `/.editorconfig` file includes some default
properties that apply to the coding styles used by HTML5 Boilerplate,
but users can easily change them to better suit their needs.

Since users need to install a editor/IDE plugin in order for the
properties from the `/.editorconfig` to be applied, we were reluctant
to add this file in the past (see: #1124).
Nowadays however, the EditorConfig project provides plugins for most
of the popular editors/IDEs (see: http://editorconfig.org/#download),
plus, more and more developers are using it.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: http://editorconfig.org/

Close: #1561
       #1564
alrra pushed a commit that referenced this issue Jul 19, 2014
The addition of the `/.editorconfig` file is made in order to
encourage and help developers and their teams define and maintain
consistent coding styles between their different editors and IDEs.

By default, the `/.editorconfig` file includes some default
properties that apply to the coding styles used by HTML5 Boilerplate,
but users can easily change them to better suit their needs.

Since users need to install a editor/IDE plugin in order for the
properties from the `/.editorconfig` to be applied, we were reluctant
to add this file in the past (see: #1124).
Nowadays however, the EditorConfig project provides plugins for most
of the popular editors/IDEs (see: http://editorconfig.org/#download),
plus, more and more developers are using it.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: http://editorconfig.org/

Close: #1561
       #1564
@alrra
Copy link
Member

alrra commented Jul 21, 2014

@tjwudi Thanks for bringing this up!

alrra pushed a commit that referenced this issue Jul 21, 2014
The addition of the `/.editorconfig` file is made in order to
encourage and help developers and their teams define and maintain
consistent coding styles between their different editors and IDEs.

By default, `/.editorconfig` includes some basic properties that
reflect the coding styles from the files provided by default, but
users can easily change them to better suit their needs.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Since users need to install a editor/IDE plugin in order for the
properties from the `/.editorconfig` to be applied, we were reluctant
to add this file in the past (see: #1124).
Nowadays however, the EditorConfig project provides plugins for most
of the popular editors/IDEs (see: http://editorconfig.org/#download),
plus, more and more developers are using it.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: http://editorconfig.org/

Close: #1561
       #1564
eleanor-byhook pushed a commit to eleanor-byhook/html5-boilerplate that referenced this issue Feb 29, 2016
The addition of the `/.editorconfig` file is made in order to
encourage and help developers and their teams define and maintain
consistent coding styles between their different editors and IDEs.

By default, `/.editorconfig` includes some basic properties that
reflect the coding styles from the files provided by default, but
users can easily change them to better suit their needs.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Since users need to install a editor/IDE plugin in order for the
properties from the `/.editorconfig` to be applied, we were reluctant
to add this file in the past (see: h5bp/html5-boilerplate#1124).
Nowadays however, the EditorConfig project provides plugins for most
of the popular editors/IDEs (see: http://editorconfig.org/#download),
plus, more and more developers are using it.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: http://editorconfig.org/

Close: h5bp/html5-boilerplate#1561
       h5bp/html5-boilerplate#1564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants