1.0.9 • Published 5 months ago

eslint-config-snapper v1.0.9

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
5 months ago

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

1.0.9

5 months ago

1.0.8

5 months ago

1.0.7

11 months ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago