Skip to content

Commit 0e41511

Browse files
committed
Remove unused vars
1 parent 4c69a17 commit 0e41511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = postcss.plugin('postcss-replace-overflow-wrap', (opts) => {
44
opts = opts || {};
55
const method = opts.method || 'replace';
66

7-
return (css, result) => { // eslint-disable-line no-unused-vars
8-
css.walkDecls('overflow-wrap', (decl, i) => { // eslint-disable-line no-unused-vars
7+
return (css) => {
8+
css.walkDecls('overflow-wrap', (decl) => {
99
decl.cloneBefore({ prop: 'word-wrap' });
1010
if (method === 'replace') {
1111
decl.remove();

0 commit comments

Comments
 (0)