@simple-node-config/eslint

A simple eslint config based on AirBnb style guide and Prettier code format rules.

Usage no npm install needed!

<script type="module">
  import simpleNodeConfigEslint from 'https://cdn.skypack.dev/@simple-node-config/eslint';
</script>

README

@simple-node-config/eslint

A simple eslint configuration using AirBnb style guides and Prettier setup

Install

npm i -D @simple-node-config/eslint
or
yarn add -D @simple-node-config/eslint

Usage

Eslint

  1. Create .eslintrc file at your project root level.
  2. Add the below code to .eslintrc
    {"extends": "@simple-node-config/eslint/eslintrc"}

Prettier

  1. Create .prettierrc.js at your project root level.
  2. Add the below code to .prettierrc.js
    module.exports = { ...require('./configs/prettierrc'), };