diff --git a/.circleci/config.yml b/.circleci/config.yml index 399c8ba8b1..bc9ea1ecd0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -88,6 +88,9 @@ jobs: - run: name: Check Formatting command: yarn check-format + - run: + name: Run linting + command: yarn lint - run: name: Check Commit Message Format command: yarn check-commit diff --git a/.eslintrc.json b/.eslintrc.json index 344a36ce52..303b375bfa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,6 @@ { "root": true, + "parser": "@typescript-eslint/parser", "parserOptions": { "project": "./tsconfig.*?.json" }, @@ -7,8 +8,10 @@ "node": true }, "ignorePatterns": ["**/*.ts"], - "plugins": ["@nrwl/nx"], - "extends": ["plugin:@nrwl/nx/typescript"], - "rules": {}, + "plugins": ["@typescript-eslint"], + "extends": [], + "rules": { + "@typescript-eslint/explicit-module-boundary-types": "off" + }, "overrides": [] } diff --git a/packages/create-nx-plugin/bin/create-nx-plugin.ts b/packages/create-nx-plugin/bin/create-nx-plugin.ts index 50111ff756..c8fb389b4f 100644 --- a/packages/create-nx-plugin/bin/create-nx-plugin.ts +++ b/packages/create-nx-plugin/bin/create-nx-plugin.ts @@ -1,7 +1,6 @@ #!/usr/bin/env node // we can't import from '@nrwl/workspace' because it will require typescript -// eslint-disable-next-line @nrwl/nx/enforce-module-boundaries import { output } from '@nrwl/workspace/src/utils/output'; import { getPackageManagerExecuteCommand } from '@nrwl/workspace/src/utils/detect-package-manager'; import { dirSync } from 'tmp'; diff --git a/packages/web/src/utils/third-party/.eslintrc.json b/packages/web/src/utils/third-party/.eslintrc.json new file mode 100644 index 0000000000..90d8894e28 --- /dev/null +++ b/packages/web/src/utils/third-party/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "rules": {} +}