@vboechat/eslint-config

1.2.1 • Public • Published

@vboechat/eslint-config

This is my personal ESLint configuration.

How to use

  1. Install the package:
$ npm install eslint @vboechat/eslint-config -D
  1. Create a .eslintrc.json file in the root of your project:
{
  "extends": "@vboechat/eslint-config/lint"
}
  1. You're done!

Create an editorconfig file

It's always a good idea to create an .editorconfig file in the root of your project. This file will help your editor to follow the same rules as ESLint. You can use the following snippet:

root = true

[*]
charset = utf-8
end_of_line = unset
indent_size = 2
indent_style = space
insert_final_newline = false
max_line_length = 120
tab_width = 2
ij_any_spaces_within_brackets = true

Customization

You can create or override rules by adding a .eslintrc.json file in the root of your project:

{
  "extends": "@vboechat/eslint-config/lint",
  "rules": {
    "no-console": "off"
  }
}

Package Sidebar

Install

npm i @vboechat/eslint-config

Weekly Downloads

2

Version

1.2.1

License

none

Unpacked Size

3.76 kB

Total Files

4

Last publish

Collaborators

  • vboechat