New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cycraft/eslint

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cycraft/eslint

Modern TS ESM base eslint that comes with everything eslint needs

0.4.4
latest
Source
npm
Version published
Weekly downloads
15
-44.44%
Maintainers
5
Weekly downloads
 
Created
Source

eslint

Shared TypeScript Eslint config for my projects

Install

npm i -D @cycraft/eslint

It will install these packages for you, so you don't have to include them in your package dependencies:

  • @eslint/js
  • @types/node
  • eslint
  • eslint-config-prettier
  • prettier
  • prettier-plugin-jsdoc
  • prettier-plugin-organize-imports
  • typescript
  • typescript-eslint

Usage

eslint.config.js

import config from '@cycraft/eslint/config'

export default config

.prettierrc.js

import prettier from '@cycraft/eslint/prettier'

export default prettier

Update Eslint Config

import config from '@cycraft/eslint/config'

export default [
  {
    ignores: ['**/dist/*'],
  },
  ...config,
  {
    files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
    rules: {
      '@typescript-eslint/no-explicit-any': 'off',
    },
  },
]

Keywords

esm

FAQs

Package last updated on 19 Feb 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