From ee72c873b2f2df2a036dd8c8f681354bf3afde7e Mon Sep 17 00:00:00 2001 From: Robert Kozik Date: Thu, 18 Jan 2024 16:14:43 +0100 Subject: [PATCH] align lint command names with respective directories --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1e2d7faee..30351ada3 100644 --- a/package.json +++ b/package.json @@ -28,13 +28,13 @@ ], "scripts": { "example": "yarn workspace @expensify/react-native-live-markdown-example", - "test": "jest", + "test": "jest ./src", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.ts,.tsx", - "lint:root": "eslint . --ext .js,.ts,.tsx --ignore-pattern '/example/**/*' --ignore-pattern '/WebExample/**/*' --ignore-pattern '/parser/**/*'", + "lint:src": "eslint src --ext .js,.ts,.tsx", "lint:example": "eslint example --ext .js,.ts,.tsx", "lint:parser": "eslint parser --ext .js,.ts,.tsx", - "lint:web": "eslint WebExample --ext .js,.ts,.tsx", + "lint:WebExample": "eslint WebExample --ext .js,.ts,.tsx", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it" @@ -156,4 +156,4 @@ "type": "components", "jsSrcsDir": "src" } -} +} \ No newline at end of file