🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@home_agency/eslint-home-agency

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@home_agency/eslint-home-agency

Home Agency linting standards

latest
npmnpm
Version
1.3.2
Version published
Maintainers
6
Created
Source

eslint-home-agency

Linting rules for HOME dev projects.

.eslintrc.js

Eslint files should be in at least the following folders.

/

/frontend

/backend

/integration

To use in the given folder

  • npm i --save-dev @home_agency/eslint-home-agency
  • Create an eslintrc.js file
  • Include the relevant lint

Base lint

const {base} = require(`@home_agency/eslint-home-agency`);

Required dev dependencies

"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"commitlint": "^12.1.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import-quotes": "0.0.1",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-no-unsanitized": "^3.1.5",
"eslint-plugin-no-wildcard-postmessage": "^0.2.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-prototype-pollution-security-rules": "^1.0.6",
"eslint-plugin-scanjs-rules": "^0.2.1",
"eslint-plugin-security": "^1.4.0",
"prettier": "^2.3.2",
"prettier-eslint": "^13.0.0"

Integration lint

const {integration} = require(`@home_agency/eslint-home-agency`);

React lint

const {react} = require(`@home_agency/eslint-home-agency`);

FAQs

Package last updated on 14 Sep 2021

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