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

@a2seven/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a2seven/eslint-config

ESLint config based in recommended best practices with custom rules

1.0.5
latest
npm
Version published
Weekly downloads
7
16.67%
Maintainers
1
Weekly downloads
 
Created
Source

Description

ESLint config based in recommended best practices with custom rules

Installation

$ npm install @a2seven/eslint-config

or

$ yarn add @a2seven/eslint-config

How to usage

  • Add @a2seven/eslint-config package to your .eslintrc.js file:
module.exports = {
    extends: [
        '@a2seven/eslint-config',
    ],
};
  • Install dependencies from this list with npm/yarn:
"@typescript-eslint/eslint-plugin": "5.15.0",
"@typescript-eslint/parser": "5.15.0",
"eslint": "8.11.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-max-params-no-constructor": "0.0.4",
"eslint-plugin-no-loops": "0.3.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"prettier": "2.6.0"
  • If you work with VScode create .prettierrc file with next rules:
{
  "singleQuote": true,
  "trailingComma": "all",
  "printWidth": 100
}

FAQs

Package last updated on 29 May 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