Skip to content

Commit 3b4bf54

Browse files
committed
Fix lint command
1 parent a850820 commit 3b4bf54

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

eslint.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ import eslint from '@eslint/js';
66
import tseslint from 'typescript-eslint';
77

88
export default tseslint.config(
9-
globalIgnores(["**/dist/**/*"]),
9+
globalIgnores(["**/dist/**"]),
10+
globalIgnores(["apps/test-app/ios/**"]),
11+
globalIgnores(["packages/react-native-node-api-modules/hermes/**"]),
12+
globalIgnores(["packages/node-addon-examples/examples/**"]),
1013
eslint.configs.recommended,
1114
tseslint.configs.recommended,
1215
{

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules#readme",
1111
"scripts": {
1212
"build": "tsc --build",
13-
"dev": "tsc --build --watch"
13+
"dev": "tsc --build --watch",
14+
"lint": "eslint ."
1415
},
1516
"author": {
1617
"name": "Callstack",

0 commit comments

Comments
 (0)