Socket
Socket
Sign inDemoInstall

eslint-config-fabulator

Package Overview
Dependencies
17
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-fabulator

Shared ESLint config for fabulator projects


Version published
Weekly downloads
9
decreased by-47.06%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

v4.1.0 (2023-12-17)

Changed

  • 9fabc21 Update rules
  • 5b3da45 Update rules

Readme

Source

ESLint Config Fabulator

This is default ESlint configurations for projects for Fabulator.

Usage

First install the package:

npm install eslint-config-fabulator --save-dev

and update you ESLint configuration:

module.exports = {
    extends: [
        'eslint-config-fabulator',
    ],
};

In basic configuration following plugins are included:

  • import - We use ECMAScript 6 modules.
  • jsdoc - Predefined style for comments of methods.
  • promise - Predefined style for promises.
  • compat - To check that used features are supported by certain browsers.
  • unicorn - Various lints.
  • filenames - Lint file names.
  • sonar - various piggy code detection
  • typescript
  • array-func

There are more extendable configurations for tests or different envs:

module.exports = {
    extends: [
        'eslint-config-fabulator',
        'eslint-config-fabulator/eslint-config/react',
        'eslint-config-fabulator/eslint-config/jasmine',
        'eslint-config-fabulator/eslint-config/jest',
        'eslint-config-fabulator/eslint-config/babel-resolver',
    ],
};

Keywords

FAQs

Last updated on 17 Dec 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc