Skip to content

Conversation

int128
Copy link
Owner

@int128 int128 commented May 27, 2021

.eslintignore does not work for yarn workspaces. This will use ignorePatterns instead.

% yarn lint --debug
...
  eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: '/typescript-actions-monorepo/hello-world', loose: false }, IgnorePattern { patterns: [ 'dist/', 'lib/', 'node_modules/', 'jest.config.js' ], basePath: '/typescript-actions-monorepo', loose: false } ] +1s
  eslintrc:ignore-pattern   processed: { basePath: '/typescript-actions-monorepo', patterns: [ '/hello-world/**/node_modules/*', 'dist/', 'lib/', 'node_modules/', 'jest.config.js' ] } +2ms

@int128 int128 merged commit 89b6183 into main May 27, 2021
@int128 int128 deleted the eslint-ignore branch May 27, 2021 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant