Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/eslint-config

ESLint config that applies Khan Academy's setings

  • 5.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
135
decreased by-91.31%
Maintainers
0
Weekly downloads
 
Created
Source

eslint-config-khan

Shared Khan Academy eslint configuration.

Quick Start

  • yarn add @khanacademy/eslint-config
  • Update your .eslintrc.js file to:
    • extend "@khanacademy"
    • include settings for "import/resolver"

For monorepos the "import/resolver" settings will look like this:

    settings: {
        "import/resolver": {
            typescript: {
                project: [
                    "packages/*/tsconfig.json",
                    "packages/tsconfig-shared.json",
                ],
            },
            node: {
                project: [
                    "packages/*/tsconfig.json",
                    "packages/tsconfig-shared.json",
                ],
            },
        },
    },

For regulard repos, the settings will look like this:

For monorepos the `"import/resolver"` settings will look like this:

settings: {
    "import/resolver": {
        typescript: {
            project: "tsconfig.json",
        },
        node: {
            project: "tsconfig.json",
        },
    },
},

FAQs

Package last updated on 13 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc