eslint-config-snapper

1.0.9 • Public • Published

ESLint Configuration Snapper

This repository contains eslint and prettier configurations for Snapper

Link to Public npm package

Instructions (ESLint)

  • Install the official ESLint extension
  • Pull the package into your project by running:
npm i -D eslint-config-snapper
  • Edit the eslintrc.json file and add "snapper" into the extends array
  • Run the following command to lint the entire project
ng lint

Instructions (Prettier)

  • Install the official Prettier extension
  • Pull the package into your project by running:
npm i -D eslint-config-snapper
  • Add "prettier": "eslint-config-snapper/prettier.config" into the package.json file
  • Run the following command to format the entire project
npx prettier --write \"**/*.ts\" \"**/*.html\" \"**/*.scss\

Publishing packages

  • Go to packages/{package_to_publish} directory
  • Run the following command: (if you haven't added your user yet)
npm adduser
  • Bump the version number as appropriate following Semantic Versioning
  • Once logged in, you can run the following to publish the package:
npm run deploy
  • You will recieve an email when your package has been successfully published

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-snapper

Weekly Downloads

73

Version

1.0.9

License

UNLICENSED

Unpacked Size

24 kB

Total Files

4

Last publish

Collaborators

  • shawmsnapper
  • mikepsnapper