Socket
Book a DemoInstallSign in
Socket

@adfinis-sygroup/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adfinis-sygroup/eslint-config

Adfinis' ESlint config, following our coding guidelines

latest
Source
npmnpm
Version
1.6.1
Version published
Weekly downloads
53
341.67%
Maintainers
7
Weekly downloads
 
Created
Source

@adfinis-sygroup/eslint-config

This package contains our internally used eslint config.

Usage

To install this package, simply run

yarn add -D @adfinis-sygroup/eslint-config \
            eslint \
            eslint-config-prettier \
            eslint-plugin-prettier \
            eslint-plugin-import

Then add the following to your .eslintrc.js

module.exports = {
  extends: "@adfinis-sygroup/eslint-config",
};

Ember

If you are using it in an ember app or addon you can use the config for ember:

yarn add -D @adfinis-sygroup/eslint-config \
            eslint \
            eslint-config-prettier \
            eslint-plugin-prettier \
            eslint-plugin-import \
            eslint-plugin-ember \
            eslint-plugin-node \
            eslint-plugin-qunit

For an app replace your .eslintrc.js with this:

module.exports = {
  extends: "@adfinis-sygroup/eslint-config/ember-app",
};

Or for an addon replace your .eslintrc.js with this:

module.exports = {
  extends: "@adfinis-sygroup/eslint-config/ember-addon",
};

Keywords

eslint

FAQs

Package last updated on 28 Mar 2023

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