Skip to content

Webstorm doesn't highlight errors and warnings #1848

@Manimall

Description

@Manimall

I created a .eslintrc.js simple dumb file with these rules, -

module.exports = {
	parser: '@typescript-eslint/parser', // Specifies the ESLint parser
	extends: [
		'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
	],
	plugins: ['@typescript-eslint'],
	rules: {
		'no-unused-vars': 'error',
		'semi': ['error', 'always'],
	},
};
  • and in my index.ts write some dumb code -
console.log('dsasda');

const a = 1;

const ada = {
	asdds: 'dsasds',
	dads: 'ad',
};

const b = {};

and it's not highlighted((((

but terminal told me - there is an errors and warnings -
2020-04-04_14-02-33

everything was done according to this article - https://www.jetbrains.com/help/webstorm/eslint.html#ws_eslint_linting_typescript_files_with_eslint

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginquestionQuestions! (i.e. not a bug / enhancment / documentation)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions