mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Remove old strip-trailing-whitespace from extensions
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
module.exports =
|
||||
name: "strip trailing whitespace"
|
||||
|
||||
activate: (rootView) ->
|
||||
rootView.eachBuffer (buffer) ->
|
||||
buffer.on 'before-save', ->
|
||||
buffer.scan /[ \t]+$/g, (match, range, { replace }) ->
|
||||
replace('')
|
||||
Reference in New Issue
Block a user