1.0.0 • Published 3 years ago

@zatkoa/eslint-config-zatkoa v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

ESLint (and Prettier) config

These are my custom settings for ESLint and Prettier.

What it does

This setup lints your Typescript code based on my preferencies. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D eslint-config-zatkoa # or yarn install --dev eslint-config-zatkoa
npx install-peerdeps --dev eslint-config-zatkoa
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    'zatkoa'
  ]
}
  1. Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-wesbos.

acorn-jsxansi-colorsacornajvargparseansi-regexarray-unionansi-stylesbalanced-matchbrace-expansionbracesarray.prototype.flatastral-regexarray-includescallsitescall-bindcolor-convertchalkconcat-mapconfusing-browser-globalscolor-namecross-spawndebugdeep-isdefine-propertiesdoctrinedir-globerror-exes-abstracteslint-import-resolver-nodeemoji-regexenquirerescape-string-regexpeslint-rule-composereslint-module-utilses-to-primitiveeslint-plugin-importeslint-scopeeslint-utilsesprimaeslint-visitor-keysespreeesutilsesqueryesrecursefast-deep-equalfast-globfast-difffast-levenshteinestraversefile-entry-cachefind-upfast-json-stable-stringifyfill-rangefastqflat-cacheflattedfunction-bindget-intrinsicfunctional-red-black-treefs.realpathglobget-symbol-descriptionglobalsglob-parentgraceful-fsglobbyhas-flaghas-bigintshasimurmurhashhas-symbolshas-tostringtagignoreimport-freshhosted-git-infoinflightinheritsis-arrayishis-boolean-objectis-bigintinternal-slotis-callableis-extglobis-date-objectis-fullwidth-code-pointis-negative-zerois-core-moduleis-numberis-globis-symbolis-number-objectis-stringisexeis-regexjs-tokensjson-parse-better-errorsjson-schema-traversejson5js-yamllodash.clonedeeplevnjson-stable-stringify-without-jsonifylocate-pathlodash.mergelodash.truncatelru-cachemerge2micromatchminimatchminimistmsload-json-filenatural-compareoncenormalize-package-dataobject-keysobject.entriesp-limitobject.assignp-tryoptionatorobject.valuesp-locateparent-moduleparse-jsonobject-inspectpath-is-absolutepifypath-existspicomatchpkg-dirpath-typepkg-uppath-keypath-parseprettier-linter-helperspunycodeprogressprelude-lsrequire-from-stringqueue-microtaskread-pkg-upread-pkgreusifyregexpprun-parallelresolveshebang-commandresolve-fromslashshebang-regexside-channelsemverspdx-correctspdx-exceptionssprintf-jsspdx-expression-parseslice-ansirimrafstring-widthspdx-license-idsstrip-bomstring.prototype.trimendstrip-ansistring.prototype.trimstartstrip-json-commentstableto-regex-rangetslibtsconfig-pathstypescriptsupports-colortsutilstype-festtext-tabletype-checkword-wrapunbox-primitivevalidate-npm-package-licenseuri-jswhich-boxed-primitivewrappyv8-compile-cachewhichyallist
1.0.0

3 years ago