Skip to content

ESLint config for Node.js, React Native and React

Notifications You must be signed in to change notification settings

mj-studio-library/eslint-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MJ Studio ESLint Config

ogimage-1260-630

This project is forked from @dooboo/eslint-config

Usage

These packages include internal eslint config/plugins with dependencies not peerDependencies.

So user can just declare their eslintrc.js like that.

extends: ['@mj-studio/eslint-config-(node|react|react-native)']

On the other hand, User should install eslint, prettier, typescript in their devDependencies.

Feature

  • TypeScript
  • Prettier
  • Import Sort/Assertion
  • React(only in react/react-native)
  • Useful Rules

Node.js

Npm Version

React

depends on Node config

Npm Version

React Native

depends on React config

Npm Version

Recommendation

.prettierrc.json

{
  "trailingComma": "all",
  "arrowParens": "always",
  "singleQuote": true,
  "jsxSingleQuote": false,
  "printWidth": 100,
  "quoteProps": "consistent",
  "tabWidth": 2
}

About

ESLint config for Node.js, React Native and React

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%