Skip to content

Commit 9165d71

Browse files
committed
removed arg to pass linter
1 parent 7bba814 commit 9165d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const processor = postcss.plugin('postcss-modules-scope', function(options) {
156156
};
157157
});
158158

159-
processor.generateScopedName = function(exportedName, path, css) {
159+
processor.generateScopedName = function(exportedName, path) {
160160
let sanitisedPath = path.replace(/\.[^\.\/\\]+$/, '').replace(/[\W_]+/g, '_').replace(/^_|_$/g, '');
161161
return `_${sanitisedPath}__${exportedName}`;
162162
};

0 commit comments

Comments
 (0)