Not logged in : Login

About: http://ods-qa.openlinksw.com:8896/proxy-iri/7914dda4f1821722c80c87008986aeefed025f1e     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
described by
author
position
  • #1
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 !
headline
  • Express Web Framework Tutorial : ESLint script
is topic of
is container of of
is object of
is subject of
Faceted Search & Find service v1.17_git38 as of Aug 05 2019


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.01.3307 as of May 21 2018, on Linux (x86_64-redhat-linux-gnu-ANALYTICS), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2019 OpenLink Software