Skip to content

Commit 635e90e

Browse files
justin808claude
andcommitted
Fix ESLint import/extensions error in babel.config.js
Removed explicit .js extension from shakapacker preset import to comply with ESLint's import/extensions rule. Error was: 1:35 error Unexpected use of file extension "js" for "shakapacker/package/babel/preset.js" import/extensions Changed: require('shakapacker/package/babel/preset.js') To: require('shakapacker/package/babel/preset') 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9bd01e2 commit 635e90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/dummy/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const defaultConfigFunc = require('shakapacker/package/babel/preset.js');
1+
const defaultConfigFunc = require('shakapacker/package/babel/preset');
22

33
module.exports = function createBabelConfig(api) {
44
const resultConfig = defaultConfigFunc(api);

0 commit comments

Comments
 (0)