Not logged in : Login

About: http://ods-qa.openlinksw.com:8896/proxy-iri/500772896f77e77b2642a28eea3270c03df7606c     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:DiscussionForumPosting, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
interactionStatistic
datePublished
publisher
described by
link
  • External Image
mainEntityOfPage
item
author
itemListElement
position
  • 2
  • 1
  • #1
keywords
dateModified
  • 2019-07-17T07:27:45Z
articleBody
  • Hi I’m having a problem the Express Web Framework tutorial. In the “Setting up a Node development environment”, we are showed how to add ESLint as a devdependencies. So we need to update package.json in the scripts part. Can you give us a concrete example, because adding “eslint src/js” is not correct. I created the directory “src/” in my myapp folder then put index.js then running npm run lint, I got the error that eslint is missing a configuration file. I cannot run eslint --init as it seems that bash does not recognize eslint even if my npm install of eslint with --save-dev worked. I really don’t know what to do. Would it be better to install ESlint generally then declare it in “devdepencies” so maybe I can at least run the ESlint --init configuration ? I’ve done the general installation with “npm install eslint -g” and the config with “eslint --init”, setting among others that I’ll be testing Javascript modules but I got this error : error ‘require’ is not defined I was testing the index.js where I had to include the http package ! I’m really lost here !
  • Hi I’m having a problem the Express Web Framework tutorial. In the “Setting up a Node development environment”, we are showed how to add ESLint as a devdependencies. So we need to update package.json in the scripts part. Can you give us a concrete example, because adding “eslint src/js” is not correct. I created the directory “src/” in my myapp folder then put index.js then running npm run lint, I got the error that eslint is missing a configuration file. I cannot run eslint --init as it seems that bash does not recognize eslint even if my npm install of eslint with --save-dev worked. I really don’t know what to do. Would it be better to install ESlint generally then declare it in “devdepencies” so maybe I can at least run the ESlint --init configuration ? I’ve done the general installation with “npm install eslint -g” and the config with “eslint --init”, setting among others that I’ll be testing Javascript modules but I got this error : error ‘require’ is not defined I was testing the index.js where I had to include the http package ! I’m really lost here !
url
headline
  • Express Web Framework Tutorial : ESLint script
is logo of
  • External Image
is topic of
is container of of
is object of
is subject of
is itemListElement of
Faceted Search & Find service v1.17_git55 as of Mar 01 2021


Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software