ESLint Unexpected use of isNaN
I’m trying to use the isNaN global function inside an arrow function in a Node.js module but I’m getting this error: [eslint] Unexpected … Read more
I’m trying to use the isNaN global function inside an arrow function in a Node.js module but I’m getting this error: [eslint] Unexpected … Read more
I created a new React Native project with –template typescript I deleted the template directory which came as part of the boilerplate. I … Read more
I am assigning a property to the global window object, but when I run eslint, I get this: “window” is not defined I … Read more
I am using React and Redux to develop a webapp and when I started up my project I got this: Line 13: Unexpected … Read more
I recently started seeing, what seems like, TSLint errors. They look like this: Not using the local TSLint version found for ‘/Users/myname/myproject/client/src/app/likes/likee/likee.component.ts’. To … Read more
When using eslint in the gulp project i have encountered a problem with error like this Expected linebreaks to be ‘LF’ but found … Read more
With this code: import React from ‘react’; import { Link } from ‘react-router’; import { View, NavBar } from ‘amazeui-touch’; import * as … Read more
I have this import in my file app.spec.ts: import app from ‘./app’; Which causes this Typescript error 2:17 error Unable to resolve path … Read more
Is there a way to disable specific rules for a folder? For example, I don’t want to have required JSDoc comments for all … Read more
I am getting this error from ESLint: error Parsing error: The keyword ‘const’ is reserved from this code: const express = require(‘express’); const … Read more