@eric.dahlseng/linter-configuration
Linter Configuration
Last updated 2 years ago by eric.dahlseng .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @eric.dahlseng/linter-configuration 
SYNC missed versions from official npm registry.

Linter Configuration

A collection of configuration files for various linting tools.

Installation

npm install --save-dev @edahlseng/linter-configuration

Usage

After installing, run npx linter-configuration setup [languages] to set up configuration for the desired languages.

Available languages:

  • css
  • javascript or js
  • terraform or tf
  • typescript or ts
  • yaml or yml

In addition to configuration for all of the specified languages, the setup script will add configuration for Prettier, commitlint, and JSON linting.

Example

Running npx linter-configuration setup js will add a .eslintrc.json configuration file to the project root, as well as add a lint:js NPM run-script to the project's package.json. (It will also add a .prettierrc.js configuration file, a .commitlintrc.json configuration file, a lint:json NPM run-script, and a lint:commit NPM run-script.)

Current Tags

  • 0.3.0                                ...           latest (2 years ago)

5 Versions

  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 8
Last Day 0
Last Week 6
Last Month 2
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |