From 47b0f82d29ef5aa993a19bb9eb43705d8c3548a4 Mon Sep 17 00:00:00 2001 From: CJ Green <44074998+okaycj@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:08:04 -0500 Subject: [PATCH] Fixed linting issues --- .github/workflows/release.yml | 2 -- README.md | 13 ++++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9771f95..50216dc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,5 +40,3 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - diff --git a/README.md b/README.md index ccd3308d..2f51ece9 100644 --- a/README.md +++ b/README.md @@ -6,17 +6,13 @@ Here is the monorepo containing packages developed by Lookit to be used with jsP Lint and formating is done at the monorepo level. -To lint: +To auto fix linting/formating issues: ``` -npm run lint +npm run fix ``` -To format: - -``` -npm run format -``` +Unfixable issues will be diplayed as errors. ## Create new package @@ -28,11 +24,10 @@ To create a new package, run the following at the root of the project: npm init --scope @lookit --workspace packages/ ``` -Add build script to new package `package.json`: +Add build script to new package's `package.json`: ```json "scripts": { - ..., "build": "rollup --config" }, ```