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

@cycraft/eslint

Package Overview
Dependencies
Maintainers
0
Versions
7
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.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
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
  • eslint-plugin-unicorn
  • prettier
  • prettier-plugin-jsdoc
  • 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

FAQs

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