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 use of 'isNaN'. (no-restricted-globals) This is...
  • June 2, 2022
  • 0 Comments
I am using React and Redux to develop a webapp and when I started up my project I got this: Line 13: Unexpected use of 'location' no-restricted-globals Search for...
  • May 22, 2022
  • 0 Comments
With this code: import React from 'react'; import { Link } from 'react-router'; import { View, NavBar } from 'amazeui-touch'; import * as Pages from '../components'; const { Home,...
  • May 20, 2022
  • 0 Comments
Is there a way to disable specific rules for a folder? For example, I don’t want to have required JSDoc comments for all my test files in the test...
  • May 19, 2022
  • 0 Comments