Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

n3dst4/eslint-config-n3dst4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@n3dst4/eslint-config-n3dst4

Heyo. This is my ESLint config, meant for ES-current code (Babelified or otherwise).

ESLint is a very configurable tool for checking JavaScript code. Eslint configs can be shared and distributed as npm packages.

Usage

In the package you want to lint while developing, run

npm install eslint babel-eslint eslint-plugin-babel @n3dst4/eslint-config-n3dst4 --save-dev


Then in your package.json, add:

  "eslintConfig": {
    "extends": "@n3dst4/eslint-config-n3dst4"
  }

React and JSX

If you're working on a project with React and/or using JSX syntax, replace the eslintConfig block above with:

  "eslintConfig": {
    "extends": "@n3dst4/eslint-config-n3dst4/react"
  }

This will enable JSX support and bring in some rules about React usage, too.

About

My ESLint config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published