about summary refs log tree commit diff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-09-14 17:42:22 +0200
committerGitHub <noreply@github.com>2018-09-14 17:42:22 +0200
commit6a3f9b7e53e4cef0b5406676d56e904a02716ee6 (patch)
treea2bffb6c09262d4fb29ac406095824635fd14172 /.rubocop.yml
parent1d8b693d31512b25f90d63b5d879d97dba4044fe (diff)
Move more tasks to tootctl (#8675)
* Move more tasks to tootctl

- tootctl feeds build
- tootctl feeds clear
- tootctl accounts refresh

Clean up exit codes and help messages

* Move user modifying to tootctl

* Improve user modification through CLI, rename commands

add -> create
mod -> modify
del -> delete

To remove ambiguity

* Fix code style issues

* Fix not being able to unset admin/mod role
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 4ba5903bd..59e8a757a 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -77,6 +77,11 @@ Rails/SkipsModelValidations:
 Rails/HttpStatus:
   Enabled: false
 
+Rails/Exit:
+  Exclude:
+    - 'lib/mastodon/*'
+    - 'lib/cli'
+
 Style/ClassAndModuleChildren:
   Enabled: false