Skip to content

Running tslint with files specified don't respect tslint.config exclude options #3226

Closed
@mortyccp

Description

@mortyccp

Version

3.2.2

Environment info

Environment Info:

  System:
    OS: macOS 10.14.2
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
  Binaries:
    Node: 11.6.0 - /usr/local/bin/node
    Yarn: 1.12.3 - /usr/local/bin/yarn
    npm: 6.5.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 71.0.3578.98
    Firefox: 62.0.3
    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-pwa: ^3.2.0 => 3.2.0 
    @vue/cli-plugin-typescript: ^3.2.0 => 3.2.0 
    @vue/cli-plugin-unit-jest: ^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/preload-webpack-plugin:  1.1.0 
    @vue/test-utils: ^1.0.0-beta.20 => 1.0.0-beta.20 
    @vue/web-component-wrapper:  1.2.0 
    babel-helper-vue-jsx-merge-props:  2.0.3 
    babel-plugin-transform-vue-jsx:  4.0.1 
    idle-vue: ^2.0.5 => 2.0.5 
    jest-serializer-vue:  2.0.2 
    vue: ^2.5.17 => 2.5.21 
    vue-class-component: ^6.0.0 => 6.3.2 
    vue-cli-plugin-pug: ^1.0.7 => 1.0.7 
    vue-color: ^2.4.4 => 2.4.6 
    vue-hot-reload-api:  2.3.1 
    vue-i18n: ^8.3.2 => 8.3.2 
    vue-jest:  3.0.2 
    vue-loader:  15.4.2 
    vue-property-decorator: ^7.0.0 => 7.2.0 
    vue-resize: ^0.4.4 => 0.4.4 
    vue-router: ^3.0.1 => 3.0.1 
    vue-style-loader:  4.1.2 
    vue-template-compiler: ^2.5.17 => 2.5.21 
    vue-template-es2015-compiler:  1.6.0 
    vue2-dropzone:  3.2.2 
    vuelidate: ^0.7.4 => 0.7.4 
    vuetify: 1.0.19 => 1.0.19 
    vuex: ^3.0.1 => 3.0.1 
    vuex-class: ^0.3.1 => 0.3.1 
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

tslint.json

  "linterOptions": {
    "exclude": [
      "node_modules/**",
      "src/**/*.d.ts"
    ]
  }

yarn run lint src/types/shims.d.ts

What is expected?

The src/types/shims.d.ts should not be linted.

What is actually happening?

The src/types/shims.d.ts is linted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions