@swissquote/eslint-plugin-swissquote
## Features
Last updated 8 months ago by onigoetz .
Apache-2.0 · Repository · Original npm · Tarball · package.json
$ cnpm install @swissquote/eslint-plugin-swissquote 
SYNC missed versions from official npm registry.

Swissquote ESLint preset

Features

  • Provide a style guide for your JavaScript
  • Warns on common mistakes in JavaScript
  • Works with EcmaScript 2015+ using the babel-eslint parser

Presets

This plugin comes with four presets

  • format Base formatting rules, should work on any code (included in legacy and recommended)
  • node Adds environment information for Node.js
  • legacy For all your EcmaScript 5 code
  • recommended For all your EcmaScript 2015+ code, also contains rules for React

Included plugins

the recommended preset includes three plugins:

  • eslint-plugin-import provides some rules to clean imports.
  • eslint-plugin-react ensures you follow some best practices with React.
  • eslint-plugin-sonarjs provides some advanced rules made by the guys at SonarQube.

To make it easy to install this plugin, those rules are added to ESLint automatically, but prefixed with swissquote/. This is due to a limitation with ESLint that doesn't allow us to add plugins to ESLint through an API.

Usage

Include them with in your projects like this:

{
  "plugins": ["@swissquote/swissquote"],
  "extends": ["plugin:@swissquote/swissquote/recommended"]
}

Current Tags

  • 1.13.0-alpha.0974e0c2                                ...           canary (a month ago)
  • 1.12.0                                ...           latest (a month ago)

58 Versions

  • 1.13.0-alpha.0974e0c2                                ...           a month ago
  • 1.12.0                                ...           a month ago
  • 1.12.0-alpha.20d5bd8a                                ...           a month ago
  • 1.12.0-alpha.0981c1ec                                ...           a month ago
  • 1.12.0-alpha.0a599371                                ...           a month ago
  • 1.12.0-beta.0                                ...           a month ago
  • 1.12.0-alpha.d01f3c1e                                ...           a month ago
  • 1.11.1                                ...           4 months ago
  • 1.12.0-alpha.be5c588d                                ...           4 months ago
  • 1.12.0-alpha.2879bfac                                ...           4 months ago
  • 1.11.0                                ...           4 months ago
  • 1.11.0-alpha.75aa725c                                ...           4 months ago
  • 1.11.0-alpha.333b3c4b                                ...           4 months ago
  • 1.10.0                                ...           7 months ago
  • 1.10.0-alpha.0d262455                                ...           7 months ago
  • 1.9.1                                ...           8 months ago
  • 1.10.0-alpha.08fb11ff                                ...           8 months ago
  • 1.9.0                                ...           8 months ago
  • 1.9.0-alpha.d01aa8c1                                ...           8 months ago
  • 1.9.0-alpha.6f01208d                                ...           8 months ago
  • 1.9.0-alpha.de6422b2                                ...           8 months ago
  • 1.8.0                                ...           a year ago
  • 1.8.0-alpha.d76f9e77                                ...           a year ago
  • 1.8.0-alpha.45d252ad                                ...           a year ago
  • 1.7.3                                ...           a year ago
  • 1.8.0-alpha.927cda80                                ...           a year ago
  • 1.7.2                                ...           a year ago
  • 1.7.1                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.7.0-alpha.022db3ba                                ...           a year ago
  • 1.7.0-alpha.60d03c09                                ...           a year ago
  • 1.7.0-alpha.f5ffc7fd                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.6.0-alpha.f9068b0c                                ...           a year ago
  • 1.6.0-alpha.4ca88499                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.5.0-alpha.8e35b1aa                                ...           a year ago
  • 1.4.1-beta.0                                ...           a year ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1-alpha.27                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.2-alpha.22                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.3.0-alpha.aebf6bcb                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.2.0-alpha.e0206f6b                                ...           2 years ago
  • 1.2.0-alpha.655f2b0b                                ...           2 years ago
  • 1.2.0-alpha.fade2d8f                                ...           2 years ago
  • 1.2.0-alpha.da9a46a5                                ...           2 years ago
  • 1.2.0-alpha.5f812146                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.1.0-alpha.1269ff8b                                ...           2 years ago
  • 1.1.0-alpha.38983486                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.1.0-alpha.b912b41d                                ...           2 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-alpha.626ce2a1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 3
Last Day 1
Last Week 4
Last Month 97
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |