Questions tagged as 'eslint'

2
answers

What does it mean to run lint in code?

I saw this expression "lint code" in some places, in the Visual Studio IDE and also when running the NG CLI of the Angular. What does it mean? What exactly does lints code do?     
asked by 19.09.2018 / 22:11
1
answer

ESLint suggestion on React import

At line import React, { Component } from 'react'; ESLint marks the import and brings the following message: [eslint] Definition for rule 'react/require-extension' was not found (react/require-extension) The system works everything ok...
asked by 29.08.2017 / 18:36
1
answer

Gulp watch shows a lot of eslint errors. Which dependencies are missing?

I made the git clone of an Ionic 1 app made with the Generator-M-Ionic I've done the following steps to install the dependencies: npm install bower install npm install --global gulp-cli And the prerequisites of the generator itself:...
asked by 20.04.2018 / 19:03
0
answers

Eslint does not run on Mac

I'm using VS Code in MacOS 10.14.1 I installed eslint with the command: npm i -g eslint It is installed in the project's local folder: ./node_modules/eslint When you run the command: eslint --init Error: -bash: eslint: comman...
asked by 21.11.2018 / 23:50
3
answers

ESLint caught an error, Parsing error: Unexpected token =

Hello, I installed ESLint to catch the errors and check the code, but it is catching this error on line 28 "updateDay = () = > {" where the problem is in this syntax with the = before the () , but I do not know what the correct syntax would be...
asked by 13.04.2018 / 07:30
0
answers

Eslint Installation

Soon after doing the step by step installation of the Eslint I got this error. Does anyone know how to solve it?     
asked by 05.03.2018 / 03:58