@geekjuice/style
personal style guide
Last updated 16 days ago by geekjuice .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @geekjuice/style 
SYNC missed versions from official npm registry.

style

style

one stop shop for personal dependency style guide and configuration management.

features include:

  • minimal dependency management. package come pre-bundled with:
  • sensible configurations. consistent styles and process that just work™
  • javascript and typescript. configured to handle both
  • opinionated. because personal :man_shrugging:

getting started

to start the guided setup process:

❯ npx @geekjuice/style init

or fire and forget:

❯ npx @geekjuice/style init --yes

commands

init

this command is used to initially setup your project by:

  • updating your package.json to include the necessary dependencies and scripts
  • adding (or replacing) the following configuration files:
    • .eslintrc.js - can also extend node and react variants
    • .prettierrc.js
    • .huskyrc.js
    • .lintstagedrc.js
  • running npm install to have your project ready to go

the command can be re-run to set your project up again or pick up updates.

check

used to check files for linting and formatting issues without actually making changes. underneath the hood this command is running the following in parallel:

  • eslint against all javascript and typescript files unless files specified
  • prettier --check against many supported file types unless files specified

fix

similar to check, but will attempt to fix problems if possible. underneath the hood this command is running the following in serial:

  • eslint --fix against all javascript and typescript files unless files specified
  • prettier against many supported file types unless files specified

running this command with --dry flag will delegate it back to the check command.

credit

license

MIT - Copyright © Nicholas Hwang

Current Tags

  • 0.0.2                                ...           latest (16 days ago)

18 Versions

  • 0.0.2                                ...           16 days ago
  • 0.0.1                                ...           16 days ago
  • 0.0.1-15                                ...           16 days ago
  • 0.0.1-14                                ...           16 days ago
  • 0.0.1-13                                ...           16 days ago
  • 0.0.1-12                                ...           17 days ago
  • 0.0.1-11                                ...           18 days ago
  • 0.0.1-10                                ...           18 days ago
  • 0.0.1-9                                ...           18 days ago
  • 0.0.1-8                                ...           18 days ago
  • 0.0.1-7                                ...           18 days ago
  • 0.0.1-6                                ...           18 days ago
  • 0.0.1-5                                ...           18 days ago
  • 0.0.1-4                                ...           18 days ago
  • 0.0.1-3                                ...           18 days ago
  • 0.0.1-2                                ...           18 days ago
  • 0.0.1-1                                ...           21 days ago
  • 0.0.1-0                                ...           21 days ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 198
Last Day 0
Last Week 18
Last Month 0
Dependencies (16)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |