mirror of
https://github.com/mastodon/mastodon
synced 2024-12-12 05:38:19 +09:00
3672a799d4
* Add eslint to dev dependancies so it gets installed for the repo yarn add --dev eslint babel-eslint eslint-plugin-reac project specific version of eslint, you can globally install eslint-cli if you want the global runtime, or add .bin to your path * fix eslint errors about inconsitent returns * eslint ignore the same as git ignore. allows for eslint . * Add editorconfig file so everyones editor will be setup to follow the same standards
13 lines
251 B
INI
13 lines
251 B
INI
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|