EditorConfig の紹介をするだけ

EditorConfig の紹介をするだけ

LT駆動開発 04 で LT した際のスライド

Ce2e9a468ff938fd14e9953583686966?s=128

pecosantoyobe

June 12, 2014
Tweet

Transcript

  1. EditorConfig ͷ঺հ Λ͢Δ͚ͩ 2014/06/07 LTۦಈ։ൃ 04

  2. ࢲ͸ Twitter: @pecosantoyobe GitHub: furu Web Site: tfrkd.org Job: Programmer

  3. None
  4. – editorconfig.org “EditorConfig helps developers define and maintain consistent coding

    styles between different editors and IDEs.” EditorConfig
  5. ϚείοτΩϟϥΫλʔ • ؟ڸ૏ • ஌ੑΛײ͡Δ • What’s your name? Icon

    by editorconfig.org
  6. ࢖͏ʹ͸ • EditorConfig ͷίΞϥΠϒϥϦ·ͨ͸ίϚϯυϥΠ ϯπʔϧͷಋೖ • ΤσΟλɺIDE ͷϓϥάΠϯͷಋೖ • ΈΜͳͰ૬ஊͯ͠

    .editorconfig Λॻ͘ • ࢖͏ • ΍ͬͨͥ
  7. ϓϥάΠϯ Icon by editorconfig.org

  8. .editorconfig root = true ! [*] end_of_line = lf insert_final_newline

    = true trim_trailing_whitespace = true ! [*.py] indent_style = space indent_size = 4 ! [*.js] indent_style = tab ! [lib/**.js] indent_style = space indent_size = 2 ! [{package.json,.travis.yml}] indent_style = space indent_size = 2
  9. ࡶஊ one • “ίʔυΛ੔ܗ” ͱ͍͏ίϛοτϝοηʔδ ͸ɺ΍͹͍೏͍Ͱ͸ • OSS ͩͱ͋·Γඞཁ͸ͳ͍ͷ͔΋͠Εͳ͍ •

    ҙ͕ࣝߴ͍
  10. ࡶஊ two • खܰͦ͏ʹݟ͑ͯɺׂͱน͕͋Δ • ֤ࣗͰίΞϥΠϒϥϦΛೖΕɺΤσΟλʔ΍ IDE ͷϓϥάΠϯͷઃఆΛ͠ͳ͚Ε͹ͳΒͳ͍ • ΊΜͲ͍͘͞ਓʹ͸ɺΊΜͲ͍͘͞࡞ۀ

    • ·ͩνʔϜͰ࢖ͬͯͳ͍ͷͰޮՌ͸Θ͔ΒΜ
  11. ࡶஊ three • ίʔυ͸ಡΉ࣌ؒͷํ͕ଟ͍ • ୡਓϓϩάϥϚʔ • ͖Ε͍ͳͱ͜Ζ͸Ԛͨ͘͠ͳ͍͠ɺ • Ԛͳ͍ͱ͜ΖͰ͸ɺ͖Ε͍ʹ͢Δؾྗ͕༙͔ͣ

    ʹԚͳ͍··ʹͳΓ͕ͪ • ͷΑ͏ͳ࿩͕͋ͬͨ
  12. ࡶஊ four

  13. Thanks :)