Nanobots Producing Megastructures

    @atlassian-partner-engineering/eslint-config

    3.3.1 • Public • Published

    @atlassian-partner-engineering/eslint-config

    ESLint Shareable Config

    Note

    The idea was to have strict linter config which would fit the best for all the projects and not too annoying to work with.

    ESLint recommended config was taken as a basis, expanded with Create React App ESLint config and with some custom rules requested by the team.

    This config includes:

    This config can be used both on server and client side.

    Install

    npm install -D @atlassian-partner-engineering/eslint-config

    Usage

    Shareable configs are designed to work with the extends feature of .eslintrc.json files. You can learn more about Shareable Config on the official ESLint website.

    Add this to your .eslintrc.json file:

    {
      "extends": "@atlassian-partner-engineering"
    }

    Note: We omitted the eslint-config from the full package name since it is automatically assumed by ESLint.

    You can override settings from the shareable config by adding them directly into your .eslintrc.json file.

    If you use VS Code as your code editor you can turn Auto Fix for all providers including ESLint:

    "editor.codeActionsOnSave": {
      "source.fixAll": true
    }

    Or you can configure Auto Fix for ESLint only:

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

    Check out detailed documentation here.

    Publishing this library

    To publish this library:

    npm version <patch|minor|major>
    npm publish

    Don't forget to push commit and tag to the remote.

    Keywords

    none

    Install

    npm i @atlassian-partner-engineering/eslint-config

    DownloadsWeekly Downloads

    124

    Version

    3.3.1

    License

    ISC

    Unpacked Size

    6.32 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar