e.g. ``` "scripts": { "doc": "jsdoc -c ./doc...
# sdf
e
e.g.
Copy code
"scripts": {
    "doc": "jsdoc -c ./doc/conf.json",
    "test": "mocha --opts .mocharc",
    "posttest": "eslint --fix --config .eslintrc --ignore-path .eslintignore ./FileCabinet/SuiteScripts",
    "postversion": "git push && git push --tags"
  },
c
just as good. i would love to
eslint --fix
everything
also, you can stuff all your estlintrc info into package.json btw
Copy code
"eslintConfig": {
    "env": {
      "browser": true,
      "commonjs": true
    }, ...
e
Right; I definitely prefer configs for the various programs to be separate
otherwise
package.json
gets extremely unwieldy
but I don't begrudge anyone else for using package.json 🙂
s
do you find eslint to provide useful value above and beyond tsc?
c
yeah, i base it off of the airbnb config
it allows multiple engineering teams to agree on the same code and style
rather than each individual having a preference no one else has
e
yes, and it's IDE-agnostic, which is even better for teams
👆 1
for a solo practitioner, probably not as useful, but I still use it
s
ah, I've just leaned on Webstorm's support for standardjs style along with an
.editorconfig
file