Skip to content

moser-jose/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint Configurations

This package provides shared ESLint configurations for Node.js and React Native projects.

Installation

# Using npm
npm install -D @mosmmy/eslint-config

# Using yarn
yarn add -D @mosmmy/eslint-config

# Using pnpm
pnpm add -D @mosmmy/eslint-config

Configurations

Node.js Configuration

Add the following to your .eslintrc.json or .eslintrc.js:

{
  "extends": ["@mosmmy/eslint-config/node"]
}

React Native Configuration

Add the following to your .eslintrc.json or .eslintrc.js:

{
  "extends": ["@mosmmy/eslint-config/react-native"]
}

VS Code Integration

For the best experience, install these VS Code extensions:

  1. ESLint
  2. Prettier

Add these settings to your VS Code settings:

{
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Licence

This project is governed by the MIT. Just remember to be a nice person and send back any modifications, corrections or improvements. ✌️

Author


@moser-jose

About

Custom ESLint configuration for Node.js and React Native projects with TypeScript and Prettier

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published