Skip to content

Commit ffe4e20

Browse files
committed
Fix lint
1 parent 60d8d9c commit ffe4e20

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.eslintrc.cjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
env: {
3+
es2022: true,
4+
node: true,
5+
},
6+
extends: ['eslint:recommended'],
7+
parserOptions: {
8+
ecmaVersion: 'latest',
9+
sourceType: 'module',
10+
},
11+
rules: {
12+
// Add any custom rules here
13+
'no-console': 'off', // Allow console.log in CLI applications
14+
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
15+
'prefer-const': 'error',
16+
'no-var': 'error',
17+
'object-shorthand': 'error',
18+
'prefer-arrow-callback': 'error',
19+
},
20+
};

src/utils/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function resolveGlobPattern(pattern, projectRoot) {
5151
// Extract the directory part before the glob (e.g., "ios" from "ios/*.xcodeproj/project.pbxproj")
5252
const patternParts = pattern.split('*');
5353
const dirPart = patternParts[0]; // "ios/"
54-
const filePart = patternParts[1]; // ".xcodeproj/project.pbxproj"
54+
// const filePart = patternParts[1]; // ".xcodeproj/project.pbxproj"
5555

5656
const searchDir = path.join(projectRoot, dirPart);
5757

0 commit comments

Comments
 (0)