Closed runely closed 2 years ago
prettier-eslint-cli
prettier
eslint
Relevant code/config.
extends: ['eslint:recommended'], parserOptions: { ecmaVersion: 6 }, env: { node: true }, settings: { jest: { version: 26 } }, rules: { quotes: [ 'error', 'single', { avoidEscape: true } ], semi: [ 2, 'never' ] }
What you did: npx prettier-eslint --list-different */.js
What happened: JavaScript files from node_modules are listed.
Problem description: --list-different should by default have excluded node_modules directory
--list-different
**/*.js will of course match node_modules
**/*.js
node_modules
prettier-eslint-cli
version: 5.0.1prettier
version: 2.3.2eslint
version: 7.30.0Relevant code/config.
What you did: npx prettier-eslint --list-different */.js
What happened: JavaScript files from node_modules are listed.
Problem description:
--list-different
should by default have excluded node_modules directory