We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System: OS: macOS 10.14.2 CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Binaries: Node: 10.14.1 - /usr/local/bin/node Yarn: Not Found npm: 6.4.1 - /usr/local/bin/npm Browsers: Chrome: 71.0.3578.98 Firefox: Not Found Safari: 12.0.2 npmPackages: @vue/babel-preset-app: 3.2.0 @vue/cli-overlay: 3.2.0 @vue/cli-plugin-babel: ^3.2.0 => 3.2.0 @vue/cli-plugin-e2e-cypress: ^3.2.0 => 3.2.0 @vue/cli-plugin-eslint: ^3.2.0 => 3.2.1 @vue/cli-plugin-pwa: ^3.2.0 => 3.2.0 @vue/cli-plugin-unit-mocha: ^3.2.0 => 3.2.0 @vue/cli-service: ^3.2.0 => 3.2.0 @vue/cli-shared-utils: 3.2.0 @vue/component-compiler-utils: 2.3.1 @vue/eslint-config-prettier: ^4.0.1 => 4.0.1 @vue/preload-webpack-plugin: 1.1.0 @vue/test-utils: ^1.0.0-beta.20 => 1.0.0-beta.27 @vue/web-component-wrapper: 1.2.0 babel-helper-vue-jsx-merge-props: 2.0.3 babel-plugin-transform-vue-jsx: 4.0.1 eslint-plugin-vue: ^5.0.0-0 => 5.0.0 vue: ^2.5.17 => 2.5.21 vue-eslint-parser: 2.0.3 vue-hot-reload-api: 2.3.1 vue-loader: 15.4.2 vue-router: ^3.0.1 => 3.0.2 vue-style-loader: 4.1.2 vue-template-compiler: ^2.5.17 => 2.5.21 vue-template-es2015-compiler: 1.6.0 vuex: ^3.0.1 => 3.0.1 npmGlobalPackages: @vue/cli: 3.2.1
1、在根目录下创建.eslintignore 2、忽略tests文件夹及其下面的所有文件 3、执行npm run lint
正常忽略指定路径文件
Error: No files matching 'tests' were found
The text was updated successfully, but these errors were encountered:
d6f6098
补充:放上指定文件会报All files matched by '.*.js' are ignored,请问是为什么
Sorry, something went wrong.
No branches or pull requests

### Version 3.2.1Environment info
Steps to reproduce
1、在根目录下创建.eslintignore
2、忽略tests文件夹及其下面的所有文件
3、执行npm run lint
What is expected?
正常忽略指定路径文件
What is actually happening?
Error: No files matching 'tests' were found
The text was updated successfully, but these errors were encountered: