diff --git a/.circleci/config.yml b/.circleci/config.yml index 9859c92..dda4cbc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,6 +41,13 @@ jobs: - run: name: Check prettier command: yarn format:check + lint: + <<: *test + steps: + - setup_deps + - run: + name: Check lint + command: yarn lint cache: <<: *test steps: diff --git a/package.json b/package.json index 16d6fdf..50b964e 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "repository": "https://github.com/beaussan/nbx", "scripts": { "postpack": "rm -f oclif.manifest.json", - "posttest": "eslint . --ext .ts --config .eslintrc", + "lint": "eslint . --ext .ts --config .eslintrc", "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme", "test": "jest", "test:watch": "jest --watch",