├── .gitignore ├── .npmignore ├── .travis.yml ├── .vscode ├── launch.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── documentation ├── example-atom.png ├── example-sublime.png └── example-vscode.png ├── e2e ├── package-lock.json ├── package.json ├── project-fixture │ ├── .vscode │ │ └── settings.json │ ├── main.ts │ ├── tsconfig.json │ └── tslint.json ├── server-fixture │ └── index.js └── tests │ ├── assert.js │ ├── codeFixes.test.js │ ├── errors.test.js │ └── helpers.js ├── package.json ├── src ├── config.ts ├── configFileWatcher.ts ├── index.ts ├── logger.ts ├── plugin.ts ├── runner │ ├── failures.ts │ ├── index.ts │ ├── mruCache.ts │ └── test │ │ ├── mruCache.test.ts │ │ └── runner.test.ts └── settings.ts ├── test-data ├── invalid-install │ ├── package-lock.json │ ├── package.json │ ├── test.ts │ └── tslint.json ├── js-disabled │ ├── test.js │ ├── test.mjs │ └── tslint.json ├── no-tslint │ └── test.ts ├── no-unused-variables │ ├── test.ts │ └── tslint.json ├── overlapping-errors │ ├── test.ts │ └── tslint.json ├── warnings │ ├── test.ts │ └── tslint.json ├── with-tslint-js-config-file │ ├── test.ts │ └── tslint.js └── with-tslint │ ├── excluded.ts │ ├── test.js │ ├── test.ts │ ├── tslint.json │ └── unused-variable.ts ├── test-workspace ├── .vscode │ └── settings.json ├── examples │ ├── array-type.ts │ ├── arrow-parens.ts │ ├── eval.ts │ ├── no-var-keyword.ts │ ├── no_unused-variable.ts │ ├── ordered-imports.ts │ ├── overlapping-fixes.ts │ ├── quotemark.ts │ ├── semicolon.ts │ ├── test-javascript.js │ ├── test.d.ts │ ├── trailing-comma.ts │ └── triple-equals.ts ├── package-lock.json ├── package.json ├── tsconfig.json └── tslint.json ├── thirdpartynotices.txt ├── tsconfig.json ├── tslint.main.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/README.md -------------------------------------------------------------------------------- /documentation/example-atom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/documentation/example-atom.png -------------------------------------------------------------------------------- /documentation/example-sublime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/documentation/example-sublime.png -------------------------------------------------------------------------------- /documentation/example-vscode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/documentation/example-vscode.png -------------------------------------------------------------------------------- /e2e/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/package-lock.json -------------------------------------------------------------------------------- /e2e/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/package.json -------------------------------------------------------------------------------- /e2e/project-fixture/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/project-fixture/.vscode/settings.json -------------------------------------------------------------------------------- /e2e/project-fixture/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /e2e/project-fixture/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/project-fixture/tsconfig.json -------------------------------------------------------------------------------- /e2e/project-fixture/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/project-fixture/tslint.json -------------------------------------------------------------------------------- /e2e/server-fixture/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/server-fixture/index.js -------------------------------------------------------------------------------- /e2e/tests/assert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/tests/assert.js -------------------------------------------------------------------------------- /e2e/tests/codeFixes.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/tests/codeFixes.test.js -------------------------------------------------------------------------------- /e2e/tests/errors.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/tests/errors.test.js -------------------------------------------------------------------------------- /e2e/tests/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/e2e/tests/helpers.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/package.json -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/configFileWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/configFileWatcher.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/plugin.ts -------------------------------------------------------------------------------- /src/runner/failures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/runner/failures.ts -------------------------------------------------------------------------------- /src/runner/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/runner/index.ts -------------------------------------------------------------------------------- /src/runner/mruCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/runner/mruCache.ts -------------------------------------------------------------------------------- /src/runner/test/mruCache.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/runner/test/mruCache.test.ts -------------------------------------------------------------------------------- /src/runner/test/runner.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/runner/test/runner.test.ts -------------------------------------------------------------------------------- /src/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/src/settings.ts -------------------------------------------------------------------------------- /test-data/invalid-install/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/invalid-install/package-lock.json -------------------------------------------------------------------------------- /test-data/invalid-install/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/invalid-install/package.json -------------------------------------------------------------------------------- /test-data/invalid-install/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/invalid-install/test.ts -------------------------------------------------------------------------------- /test-data/invalid-install/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/invalid-install/tslint.json -------------------------------------------------------------------------------- /test-data/js-disabled/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/js-disabled/test.js -------------------------------------------------------------------------------- /test-data/js-disabled/test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/js-disabled/test.mjs -------------------------------------------------------------------------------- /test-data/js-disabled/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/js-disabled/tslint.json -------------------------------------------------------------------------------- /test-data/no-tslint/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/no-tslint/test.ts -------------------------------------------------------------------------------- /test-data/no-unused-variables/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/no-unused-variables/test.ts -------------------------------------------------------------------------------- /test-data/no-unused-variables/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/no-unused-variables/tslint.json -------------------------------------------------------------------------------- /test-data/overlapping-errors/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/overlapping-errors/test.ts -------------------------------------------------------------------------------- /test-data/overlapping-errors/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/overlapping-errors/tslint.json -------------------------------------------------------------------------------- /test-data/warnings/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/warnings/test.ts -------------------------------------------------------------------------------- /test-data/warnings/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/warnings/tslint.json -------------------------------------------------------------------------------- /test-data/with-tslint-js-config-file/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/with-tslint-js-config-file/test.ts -------------------------------------------------------------------------------- /test-data/with-tslint-js-config-file/tslint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/with-tslint-js-config-file/tslint.js -------------------------------------------------------------------------------- /test-data/with-tslint/excluded.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/with-tslint/excluded.ts -------------------------------------------------------------------------------- /test-data/with-tslint/test.js: -------------------------------------------------------------------------------- 1 | console.log(1 == 2) -------------------------------------------------------------------------------- /test-data/with-tslint/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/with-tslint/test.ts -------------------------------------------------------------------------------- /test-data/with-tslint/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/with-tslint/tslint.json -------------------------------------------------------------------------------- /test-data/with-tslint/unused-variable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-data/with-tslint/unused-variable.ts -------------------------------------------------------------------------------- /test-workspace/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/.vscode/settings.json -------------------------------------------------------------------------------- /test-workspace/examples/array-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/array-type.ts -------------------------------------------------------------------------------- /test-workspace/examples/arrow-parens.ts: -------------------------------------------------------------------------------- 1 | [1, 2 ].map( num => console.log(num) ); 2 | -------------------------------------------------------------------------------- /test-workspace/examples/eval.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/eval.ts -------------------------------------------------------------------------------- /test-workspace/examples/no-var-keyword.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/no-var-keyword.ts -------------------------------------------------------------------------------- /test-workspace/examples/no_unused-variable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/no_unused-variable.ts -------------------------------------------------------------------------------- /test-workspace/examples/ordered-imports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/ordered-imports.ts -------------------------------------------------------------------------------- /test-workspace/examples/overlapping-fixes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/overlapping-fixes.ts -------------------------------------------------------------------------------- /test-workspace/examples/quotemark.ts: -------------------------------------------------------------------------------- 1 | // VS Code provided fix 2 | let s = 'quotemark'; 3 | 4 | console.log(s); -------------------------------------------------------------------------------- /test-workspace/examples/semicolon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/semicolon.ts -------------------------------------------------------------------------------- /test-workspace/examples/test-javascript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/test-javascript.js -------------------------------------------------------------------------------- /test-workspace/examples/test.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/test.d.ts -------------------------------------------------------------------------------- /test-workspace/examples/trailing-comma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/trailing-comma.ts -------------------------------------------------------------------------------- /test-workspace/examples/triple-equals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/examples/triple-equals.ts -------------------------------------------------------------------------------- /test-workspace/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/package-lock.json -------------------------------------------------------------------------------- /test-workspace/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/package.json -------------------------------------------------------------------------------- /test-workspace/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/tsconfig.json -------------------------------------------------------------------------------- /test-workspace/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/test-workspace/tslint.json -------------------------------------------------------------------------------- /thirdpartynotices.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/thirdpartynotices.txt -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/tslint.main.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/typescript-tslint-plugin/HEAD/yarn.lock --------------------------------------------------------------------------------