@a2seven/eslint-config

1.0.5 • Public • Published

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

  1. Add @a2seven/eslint-config package to your .eslintrc.js file:
module.exports = {
    extends: [
        '@a2seven/eslint-config',
    ],
};
  1. 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"
  1. If you work with VScode create .prettierrc file with next rules:
{
  "singleQuote": true,
  "trailingComma": "all",
  "printWidth": 100
}

Readme

Keywords

none

Package Sidebar

Install

npm i @a2seven/eslint-config

Weekly Downloads

22

Version

1.0.5

License

MIT

Unpacked Size

6.86 kB

Total Files

5

Last publish

Collaborators

  • a2seven_npm