@ocupop/eslint-config
Ocupop ESLint default configuration
Last updated 21 days ago by tombeck .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ocupop/eslint-config 
SYNC missed versions from official npm registry.

Ocupop Linter Config

Sets up ESLint config within npx across projects

Setup

Run the following npx command to install ESLint

npx @ocupop/eslint-config

Options

  --version        Show version number                                 [boolean]
  -h, --help       Show help                                           [boolean]
  --remove, --rm   Remove eslint from application   [boolean] [default: false]
  --upgrade, --up  Upgrade eslint config            [boolean] [default: false]

Using

Files

Once installed, the package will add a new file .eslintrc where we can add additional rules, or override rules values.

Scripts

Within package.json two new scrips are installed.

$ yarn checkLint  # will run eslint and validate files
$ yarn lint       # formats all files (with specified extensions) 

ESLint Extension

By default we do not require that the eslint extension be installed. Simply running yarn lint will run eslint within our code base. We can install the eslint extension which will help format and point out errors as you develop.

Publishing

$ npm login <login with ocupop creds>
# [ ] Make sure to push changes to git first
# [ ] Make sure to bump the version number
$ npm publish

Current Tags

  • 0.0.13                                ...           latest (21 days ago)

13 Versions

  • 0.0.13                                ...           21 days ago
  • 0.0.12                                ...           a month ago
  • 0.0.11                                ...           2 months ago
  • 0.0.10                                ...           2 months ago
  • 0.0.9                                ...           2 months ago
  • 0.0.8                                ...           2 months ago
  • 0.0.7                                ...           2 months ago
  • 0.0.6                                ...           2 months ago
  • 0.0.5                                ...           2 months ago
  • 0.0.4                                ...           2 months ago
  • 0.0.3                                ...           2 months ago
  • 0.0.2                                ...           2 months ago
  • 0.0.1                                ...           2 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 34
Last Day 0
Last Week 1
Last Month 28
Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |