Socket
Socket
Sign inDemoInstall

@boulevard/eslint-config

Package Overview
Dependencies
10
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @boulevard/eslint-config

Sharable ESLint config.


Version published
Weekly downloads
544
decreased by-43.98%
Maintainers
6
Install size
25.5 MB
Created
Weekly downloads
 

Readme

Source

ESLint Config

Sharable ESLint configuration.

Why?

There are too many projects, and too many cooks in the kitchen, to not enforce a set of standards on how JavaScript code is written. A linter can help us all write JavaScript in a more consistent and safer style which will in turn enhance productivity overtime.

This package is a stage for democracy. If you feel strongly about changing a rule then open a PR and present your case to the rest of the team. If a consensus is reached the change will be accepted. No one has veto power.

Installation

Install this package using npm or yarn.

$ yarn add -D @boulevard/eslint-config

Then extend the desired config files in your ESLint config file.

{
  "extends": [
    "@boulevard/eslint-config",
    "@boulevard/eslint-config/react",
    "@boulevard/eslint-config/typescript"
  ]
}

Enable ESLint Errors for TypeScript and React in VSCode

Install the ESLint VSCode extension and then add the following to your VSCode settings to enable ESLint errors for TypeScript and React.

{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]
}

Enable automatic code formatting in VSCode

The prettier-vscode extension respects your editor.formatOnSave setting, and also supports other keyboard shortcuts for formatting.

FAQs

Last updated on 05 Oct 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc