npm

This package has been deprecated

Author message:

This package is deprecated in favor of eslint-plugin-harmony to better support multiple configs

eslint-config-unional

0.3.6 • Public • Published

eslint-config-unional

NPM version NPM downloads Build status

Greenkeeper badge semantic-release

Visual Studio Code

A eslint config package with several styles to choose from.

Design Principles

There are several configurations available in this package. Although they are different as they are designed for different programers, here are the principles that they all follows:

  • They are designed to be used by team
  • Each team member can use their own IDE of choice
  • The formatter available on each IDE should work with each configuration
  • Code should look well and consistent on each IDE with folding
    • so that when you stop by your team member's cube, the code looks the same.
    • i.e., unfortunately, no [tab]
  • Thrive for easy to write (with fewest keystrokes) while keeping the code clean

Usage

# Install 
npm install eslint-config-unional
// .eslint.json
{
  "extends": "unional" // or other styles, e.g. "unional/strict"
}

Note for JetBrains IDE

When cloning this project, and opening it on JetBrains IDE, you will see some errors such as process is not defined. You need to turn on NodeJS support on the IDE. Those lines are added just to keep JetBrains happy, (from no-unused-vars and no-console).

When using the config in your own project, you can get the codeStyles and inspectionProfiles. That should be sufficient.

Package Sidebar

Install

npm i eslint-config-unional

Weekly Downloads

211

Version

0.3.6

License

MIT

Last publish

Collaborators

  • unional