@ngirl/eslint-config-ngirl
Extensible code style guide for Naughty Girl
Last updated 7 months ago by i8degrees .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ngirl/eslint-config-ngirl 
SYNC missed versions from official npm registry.

@ngirl/eslint-config-ngirl

NPM

This package provides the Naughty Girl project's .eslintrc as an extensible shared configuration across all of the project modules.

Usage

yarn add @ngirl/eslint-config-ngirl@latest -D
  1. The correct peer dependency versions listed in this package must be installed in your project's directory.

1a. Manually install the list of peer dependencies given when querying the npm registry.

npm info @ngirl/eslint-config-ngirl peerDependencies

1b. Use a npm package, such as install-peerdeps that assists in installing peer dependencies.

npm install -g install-peerdeps
install-peerdeps --yarn --only-peers --dev @ngirl/eslint-config-ngirl

1c. Or, via npx to avoid permanently installing install-peerdeps.

npx install-peerdeps --yarn --only-peers --dev @ngirl/eslint-config-ngirl

1d. Or, use the provided helper script to mimic the above process.

DRY_RUN=1 bin/install-peerdeps.js
  1. Add "extends": "@ngirl/eslint-config-ngirl" to your project's .eslintrc config.

Cheat Sheet

/* eslint no-undef: ['off'] */
/* eslint no-undef: ['error'] */
/* eslint-disable no-alert */
/* eslint-disable no-alert, no-console */
/* eslint-enable no-alert, no-console */
/* eslint-disable */
/* eslint-enable */
// eslint-disable-line
// eslint-disable-next-line

References

Projects Using @ngirl/eslint-config-ngirl

Current Tags

  • 1.5.2                                ...           latest (7 months ago)

12 Versions

  • 1.5.2                                ...           7 months ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-beta.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |