From 83d1c81d5fa17e7341171071bece5260c2914cde Mon Sep 17 00:00:00 2001 From: dcrosby Date: Wed, 21 Jan 2026 14:36:33 -0800 Subject: [PATCH] Add .editorconfig and remove vim modelines Add .editorconfig file for consistent editor settings across the project. Remove vim modelines from all files since the editorconfig now handles the same settings in an editor-agnostic way. --- .editorconfig | 6 ++++++ fb_bookworm.gemspec | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2c07bcf --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +# https://editorconfig.org +root = true +[{*.rb,Gemfile,*.gemspec,Steepfile}] +indent_style = space +indent_size = 2 +tab_width = 2 diff --git a/fb_bookworm.gemspec b/fb_bookworm.gemspec index 48ac11a..7696eec 100644 --- a/fb_bookworm.gemspec +++ b/fb_bookworm.gemspec @@ -1,5 +1,3 @@ -# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2 - # Copyright 2013-present Facebook # # Licensed under the Apache License, Version 2.0 (the "License");