Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://editorconfig.org
root = true
[{*.rb,Gemfile,*.gemspec,Steepfile}]
indent_style = space
indent_size = 2
tab_width = 2

[scripts/run_rubocop]
indent_style = space
indent_size = 2
tab_width = 2

[chef-server-stats/chef-server-stats]
indent_style = space
indent_size = 2
tab_width = 2
2 changes: 0 additions & 2 deletions chef-server-stats/chef-server-stats
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/opt/chef/bin/knife exec

# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2
#
# Author:: KC Braunschweig (<kcbraunschweig@gmail.com>)
# Copyright:: Copyright (c) 2013-present Facebook
# License:: Apache License, Version 2.0
Expand Down
2 changes: 0 additions & 2 deletions chefctl/src/chefctl.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/opt/chef/embedded/bin/ruby

# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2

# Copyright 2013-present Facebook
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 0 additions & 2 deletions chefctl/src/spec/chefctl_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2
#
# Copyright 2024-present Meta Platforms, Inc. and affiliates
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 0 additions & 2 deletions scripts/run_rubocop
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash
#
# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2
#
# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
Expand Down
Loading