Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

eslint-config-eiskaffee

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-eiskaffee

It is just a simple styleguide.

latest
Source
npmnpm
Version
1.1.20
Version published
Maintainers
1
Created
Source

Styleguide project rules

It is just a simple styleguide, so If you prefer indentation with tabs and if you would like to contribute to the project, be free.

project-version downloads

Installation

npm install -D eslint eslint-plugin-import eslint-plugin-react
npm install -D eslint-config-eiskaffee

Usage

Create the file .eslintrc.

{
  "extends": "eiskaffee"
}

Fix little bugs

Create this command in your package.json to fix automatically litte bugs like breaklines and convert quotes.

"scripts": {
  "esfix": "./node_modules/.bin/eslint --fix \"**/*.{js,jsx}\" || ECHO."
}
npm run esfix

VS Code ESLint extension

You have to install ESLint Extension into VS Code first.

Auto fix on save

If you've been using VS Code, try this config below in your vscode-settings. It should be fix your code from the ESLint config. If you know how to configure it in another editors, just contribute with this project ;)

"eslint.autoFixOnSave": true

eslint-magic

Keywords

styleguide

FAQs

Package last updated on 25 Jun 2018

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