-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginquestionQuestions! (i.e. not a bug / enhancment / documentation)Questions! (i.e. not a bug / enhancment / documentation)
Description
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 -
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
Labels
package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginquestionQuestions! (i.e. not a bug / enhancment / documentation)Questions! (i.e. not a bug / enhancment / documentation)