You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that there is an implicit expectation that the tslint extension is used for the codebase, we should increase coverage of the tslint filter in ghooks to cover all cases we want as not all contributors will use the extension.
consttslintFilter=['src/**/*.ts','extensions/**/*.ts','!**/*.d.ts','!**/typings/**','!src/vs/base/**/*.test.ts',// < Why is this here?'!extensions/typescript/test/colorize-fixtures/**',// < Why is this here?'!extensions/vscode-api-tests/testWorkspace/**','!src/vs/workbench/**/*.test.ts',// < Why is this here?'!extensions/**/*.test.ts'// < Why is this here?];
I also suggest that in the future any exceptions to the rules have comments with the reasoning behind the decision.
Long story short: no one cares enough when it comes to linting tests. That was the overall opinion when tslint was introduced into the project. People just didn't want to get bothered with all those warnings at once. This issue should be broken down into many issues, across everyone's code, so everyone takes care of their own turf.
@joaomoreno@jrieken I'd like for code in vs/editor/test to get linted, formatted, etc, i.e. apply all the rules of vs/editor/common to it. What do I need to do?
It appears that there is an implicit expectation that the tslint extension is used for the codebase, we should increase coverage of the tslint filter in ghooks to cover all cases we want as not all contributors will use the extension.
I also suggest that in the future any exceptions to the rules have comments with the reasoning behind the decision.
Related fix for filters not being restored #15259
The text was updated successfully, but these errors were encountered: