eslint-config-amanhimself

1.1.10 • Public • Published

eslint-config-amanhimself

Travis npm license code style expo code style react-native Twitter URL

Shared ESLint configs React Native, and Expo projects. ⚛️ + 📱

Installation

  • with npm
npm install --dev eslint-config-amanhimself eslint
  • with yarn
yarn add --dev eslint-config-amanhimself eslint

Usage

Since ESLint checks both package.json files for its configuration, you can add it to your own configuration either in package.json

{
    "eslintConfig": {
        "extends": "eslint-config-amanhimself"
    }
}

Or in .eslintrc (preferred way)

{
    "extends": "eslint-config-amanhimself"
}

Or in .eslintrc.js

module.exports = {
    extends: 'eslint-config-amanhimself'
};

Support for Different Platforms

Currently, this configuration is suitable for React Native and Expo projects.

Philosophy

This motivation behind this package is to provide a universal configuration that can be applied without needing to tweak for most projects for consistency in solving problems such as syntax errors and style issues. This will also let teams/individuals to use a more lenient configuration and concentrate more on building features in their application rather than keeping their linter happy. 😅

install

npm i eslint-config-amanhimself

Downloadsweekly downloads

56

version

1.1.10

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability