🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@xola/jslint

Package Overview
Dependencies
Maintainers
6
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xola/jslint

Sharable ESLint configuration for Xola's Javascript & Typescript code

latest
Source
npmnpm
Version
3.2.0
Version published
Maintainers
6
Created
Source

ESLint Configuration

This repository serves as the source for all of Xola's ESLint configuration

Installation

Install the @xola/jslint package as a devDependency in your host project.

npm install -D @xola/jslint

Setup

To use the shared config, import the package inside of an eslint.config.mjs file and add it into the exported array, like this:

// eslint.config.mjs
import xolaLint from '@xola/jslint';

export default [
  ...xolaLint,
];

Overriding settings from the shared config

You can override settings from the shareable config by adding them directly into your eslint.config.mjs file after importing the shareable config. For example:

// eslint.config.mjs
import xolaLint from '@xola/jslint';

export default [
  ...xolaLint,
  // anything from here will override xolaLint
  {
    rules: {
        'no-unused-vars': 'error',
    }
  }
];

FAQs

Package last updated on 07 Apr 2025

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