Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@spaceship/eslint-config

elforastero19MIT0.2.5

Shareable ESLint configs for React, React Native, React Native Web, and Node projects.

eslint, eslint-config, react, react-native, react-native-web

readme

🚀 @spaceship/eslint-config

Shareable ESLint configs for React, React Native, React Native Web, and Node projects. All configs imply TypeScript.

Usage

Install npm package:

`shell script yarn add --dev @spaceship/eslint-config


Then extend your `.eslintrc` with one of the following configs:

- `@spaceship/eslint-config` - default framework- and environment-agnostic config
- `@spaceship/eslint-config/web` - config for react web apps
- `@spaceship/eslint-config/native` - config for react-native apps
- `@spaceship/eslint-config/hybrid` - config for hybrid react-native + web apps
- `@spaceship/eslint-config/node` - config for nodejs projects
- `@spaceship/eslint-config/jest` - config for testing environment
- `@spaceship/eslint-config/i18n` - config for i18n solutions

### .eslintrc

```json
{
  "extends": [
    "@spaceship/eslint-config/web"
  ]
}

package.json

{
  "eslintConfig": {
    "extends": [
      "@spaceship/eslint-config/native"
    ]
  }
}

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.2.5 (2022-07-15)

0.2.4 (2021-09-03)

Bug Fixes

0.2.3 (2021-09-03)

0.2.2 (2021-09-03)

0.2.1 (2021-09-02)

Features

  • add i18n config (719c7ce)
  • prefer element form of react fragments (cbb75ed)
  • replace eslint-plugin-prettier with prettier cli (8f25084)

Bug Fixes

  • remove postinstall script (77bad27)

0.0.3 (2020-12-06)

Bug Fixes

0.0.2 (2020-11-30)

0.0.1 (2020-11-30)

Features

  • configure commitlint to use conventional config (c1aca9a)
  • initial (b14c3c0)