Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@epilot/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epilot/eslint-config

eslint package for node projects

  • 3.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
795
increased by40.21%
Maintainers
0
Weekly downloads
 
Created
Source
Epilot Logo # @epilot/eslint-config

This packages is a set of eslint rules, recommended for all node.js Projects (including serverless lambda)

ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline. More Info

This Project is also bundled with Prettier in order to ensure company wide Code formatting.

Usage

yarn add eslint typescript @epilot/eslint-config-react -D

Now add the config to either your package.json:

{
  "eslintConfig": {
    "extends": "@epilot/eslint-config"
  }
}

to your .eslintrc:

{
  "extends": "@epilot/eslint-config"
}

or .eslintrc.js:

module.exports = {
  extends: '@epilot/eslint-config'
}

VS Code

Its recommended to install eslint Extension. and configure your settings like

    "eslint.alwaysShowStatus": true,
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "typescript",
        "typescriptreact"
    ],
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },

You properly have a Prettier Extension installed. This might cause conflicts with the eslint formatter. I'd recommend to deactivate or uninstall it.

Assumptions

This ESLint configuration comes with some fundamental assumptions:

  • node environment
  • parser: typescript

Developer instructions

Requirements

  • node.js (12/14 recommended)
  • yarn

Development

git clone git@gitlab.com:e-pilot/cookie-cutter/epilot-eslint-config.git
cd epilot-eslint-config
yarn
yarn test

other useful scripts

yarn run

or check package.json

new Release

Create a Tag on master by one of these scripts

yarn release

Keywords

FAQs

Package last updated on 06 Aug 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc