Git Product home page Git Product logo

eslint-config-vi's Introduction

eslint-config-vi

npm Build Status Renovate enabled

This package provides an ESLint config for the VI Company's JS coding style.

Why another config?

The eslint-config-vi is based on the eslint-config-airbnb-base config. That config is well maintained and we agree with most of the rules set. We extend the eslint-config-airbnb-base with our own rules.
The eslint-config-airbnb-base is defined as a peerDependency so it should be installed separately.

Installation

To make use of this config, install this package and its peerDepencies as a development dependencies of your project. eslint-config-airbnb-base also makes use of peerDependencies which also needs to be installed:

npx install-peerdeps eslint-config-vi
npx install-peerdeps eslint-config-airbnb-base -o

Usage

Create a .eslintrc.* config file:

.eslintrc.js

module.exports = {
  extends: 'vi'
};

.eslintrc.json

{
  "extends": "vi"
}

Configuration

The default vi config supports ES2015+ code and targets the browser.

Node.js

For Node.js development you can use the eslint-config-vi/node config:

.eslintrc.js

module.exports = {
  extends: 'eslint-config-vi/node'
};

Changelog

Read the Changelog

License

MIT © VI Company

eslint-config-vi's People

Contributors

ba55ie avatar renovate[bot] avatar bas-vi avatar renovate-bot avatar greenkeeper[bot] avatar greenkeeperio-bot avatar svensigmond avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.