Skip to content
New issue

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

tslint - rules cleanup #948

Merged
merged 1 commit into from
Nov 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,18 @@
"forin": false, // enforces iteration on own properties only
"jsx-alignment": false, // enforces consistent multiline elements alignment
"jsx-key": false, // enforce key properties on elements in lists (reconciliation performance)
"jsx-no-bind": false, // disallow function binding in props (binding creates new function value and forces rerender of component)
"jsx-no-lambda": false, // disallow lambda in props (creates new function value and forces rerender of component)
"jsx-no-multiline-js": false, // disallow multiline js in jsx (reduces readability)
"jsx-no-string-ref": false, // passing string refs is discouraged in React now
"jsx-self-close": false, // enforce self closing of empty jsx elements
"jsx-wrap-multiline": false, // enforce wrapping of multiline jsx elements in parens (React's de facto standard)
"jsx-space-before-trailing-slash": false, // enforce space before "/>" in empty jsx elements
"max-classes-per-file": false, // disallow multiple classes in a single file
"no-angle-bracket-type-assertion": false, // enforce consistent "as X" type assertion style, "<X>" style is not compatible with TSX
"no-any": false, // disallow declarations of "any" type
"no-conditional-assignment": false, // disallow assignment in conditional condition statements
"no-duplicate-variable": false, // disallow duplicate variable declaration in the same block, not needed after we get rid of vars
"no-empty": false, // disallow empty function / method bodies
"no-empty-interface": false, // disallow empty named interfaces, replace with {}
"no-shadowed-variable": false, // disallow variable shadowing
"no-unused-expression": false, // disallow unused expressions, currently many "to.be.true" expectations trigger it
"no-unused-variable": false, // disallow unused variables
"no-var-keyword": false,
"only-arrow-functions": false, // disallow anonymous functions (function() { })
"prefer-const": false, // prefer consts where possible instead of lets
Expand Down