🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eslint-config-fxa

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-fxa

ESLint shareable config file for Firefox Accounts projects.

3.0.0
latest
Source
npm
Version published
Weekly downloads
7
40%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-fxa

ESLint shareable config file for Firefox Accounts projects.

Installation:

$ npm install eslint-config-fxa -D

(You'll need to install eslint dependency into your project as well.)

Usage:

  • Create an .eslintrc file in your project's root directory.
  • Add the following content to your project's .eslintrc file: "extends": "fxa".
  • Run $ eslint . (if you have ESLint installed globally, or call via $ ./node_modules/.bin/eslint . in your Terminal, or simply eslint . if you're using an npm script task).

Options:

There are currently three configs:

  • fxa (usage: "extends": "fxa") — Includes base ESLint environments and rules.
  • client (usage: "extends": "fxa/client") — Overrides base fxa config, and adds additional environments for 'amd', 'browser', and 'mocha'.
  • server (usage: "extends": "fxa/server") — Overrides base fxa config, and disables the semi rule.

NOTE:

The eslint-config-fxa@2 module is compatible w/ eslint@1. If you're still using a pre ESLint v1 build, you'll need to stick with eslint-config-fxa@1.

Keywords

eslint

FAQs

Package last updated on 17 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts