Socket
Book a DemoInstallSign in
Socket

eslint-config-cityssm

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-cityssm

ESLint rules used in the City of Sault Ste. Marie's TypeScript projects.

latest
Source
npmnpm
Version
33.2.1
Version published
Weekly downloads
234
-52.24%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-cityssm

DeepSource

Code Scanning Banner

ESLint rules used in the City of Sault Ste. Marie's TypeScript projects.

Now testing support for ESLint's CSS, JSON, and Markdown parsers!

Installation

npm install --save-dev eslint-config-cityssm

Simple Usage

For web applications, export the default export.

export { default } from 'eslint-config-cityssm'

For simpler packages, export the packageConfig.

export { default } from 'eslint-config-cityssm/packageConfig'

Advanced Usage (TypeScript)

import configWebApp {
  type ConfigObject,
  defineConfig
} from 'eslint-config-cityssm'
import { cspellWords } from 'eslint-config-cityssm/exports'

export const config: ConfigObject[] = defineConfig(configWebApp, {
  files: ['**/*.ts'],
  languageOptions: {
    parserOptions: {
      project: ['./tsconfig.json', './public/javascripts/tsconfig.json']
    }
  },
  rules: {
    '@cspell/spellchecker': [
      'warn',
      {
        cspell: {
          words: [...cspellWords, 'autoincrement', 'fontawesome']
        }
      }
    ],
    '@typescript-eslint/no-unsafe-type-assertion': 'off'
  }
})

export default config

Included Plugins

Thanks to all of the developers who help make the City of Sault Ste. Marie's code awesome! 😎

Projects Using eslint-config-cityssm

Used in 70+ projects, including:

prettier-config-cityssm
Prettier configuration for the City of Sault Ste. Marie's projects.

Keywords

eslint

FAQs

Package last updated on 16 Oct 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