chore: lint for unused arguments
This commit is contained in:
@@ -13,7 +13,7 @@ import { parseStringStyle } from '@vue/shared'
|
||||
// style="color: red" -> :style='{ "color": "red" }'
|
||||
// It is then processed by `transformElement` and included in the generated
|
||||
// props.
|
||||
export const transformStyle: NodeTransform = (node, context) => {
|
||||
export const transformStyle: NodeTransform = node => {
|
||||
if (node.type === NodeTypes.ELEMENT) {
|
||||
node.props.forEach((p, i) => {
|
||||
if (p.type === NodeTypes.ATTRIBUTE && p.name === 'style' && p.value) {
|
||||
|
||||
Reference in New Issue
Block a user