Skip to content

Change tslint to eslint #260

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

Closed
gnikit opened this issue Oct 3, 2021 · 0 comments · Fixed by #275
Closed

Change tslint to eslint #260

gnikit opened this issue Oct 3, 2021 · 0 comments · Fixed by #275
Assignees

Comments

@gnikit
Copy link
Member

gnikit commented Oct 3, 2021

tslint has been deprecated we should change to eslint
https://code.visualstudio.com/api/advanced-topics/tslint-eslint-migration

MWE of .eslintrc.js

/**@type {import('eslint').Linter.Config} */
// eslint-disable-next-line no-undef
module.exports = {
	root: true,
	parser: '@typescript-eslint/parser',
	plugins: [
		'@typescript-eslint',
	],
	extends: [
		'eslint:recommended',
		'plugin:@typescript-eslint/recommended',
	],
	rules: {
		'semi': [2, "always"],
		'@typescript-eslint/no-unused-vars': 0,
		'@typescript-eslint/no-explicit-any': 0,
		'@typescript-eslint/explicit-module-boundary-types': 0,
		'@typescript-eslint/no-non-null-assertion': 0,
	}
@gnikit gnikit self-assigned this Oct 3, 2021
gnikit added a commit that referenced this issue Nov 9, 2021
Fixes Change tslint to eslint #260
@gnikit gnikit linked a pull request Nov 9, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant