tvl-depot/emacs/.emacs.d/snippets/rjsx-mode/redux-action
William Carroll a638e15c0d Lint string, macros.el
More of the same type of linting... basically preferring `namespace-` instead of
`namespace/`.
2020-08-31 23:33:25 +01:00

5 lines
No EOL
180 B
Text

# -*- mode: snippet -*-
# name: redux-action
# key: rax
# --
export const ${1:$$(string-lower->caps yas-text)} = '`(downcase (buffer-dirname))`/${1:$(string-caps->kebab yas-text)}'