New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@inelo/eslint-config-angular

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@inelo/eslint-config-angular

Eslint and Prettier configuration

0.1.10
unpublished
npm
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

Shareable style-guide

Package to lint and prettify them all

Overview

This configuration includes eslint, prettier for the all projects who need them ;)

Usage

  • Install:
yarn add -D @inelo/eslint-config-angular

npx ng add @angular-eslint/schematics

or when we'll developing package without publish to npm

yarn link "@inelo/eslint-config-angular"
  • Create or modify an .eslintrc.json file in your project root and add:
{
  "extends": ["@inelo/eslint-config-angular"],
  "root": true,
  ...
}
  • Create a .prettierrc.js file in your project root and add:
const prettier = require("@inelo/eslint-config-angular/prettier");
module.exports = prettier;
  • Add Fix Lint and Prettier errors command in package.json
{
  "scripts": {
    "lint": "ng lint",
    "lint:fix": "ng lint --fix"
  } 
}

Settings screen for editors

Intelij/Webstorm

WebstormRunOnSave WebstormEslint

VSCode

...

Keywords

javascript

FAQs

Package last updated on 08 Aug 2022

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