Socket
Socket
Sign inDemoInstall

@valtech-commerce/eslint-config

Package Overview
Dependencies
4
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @valtech-commerce/eslint-config

Valtech_Commerce ESLint configurations


Version published
Weekly downloads
6
increased by100%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

[4.0.0] - 2023-03-17

Changed

  • react/typescript: Remove typescript extension
  • Cleanup package.json

Removed

  • Remove nwayo
  • Remove pwastudio
  • Remove spire

Readme

Source

@valtech-commerce/eslint-config

npm npms.io: Score libraries.io: SourceRank Tests License: MIT

Opinionated ESLint shareable configs.

Rulesets

RulesetDescription
coreCore rules
typescriptTypeScript rules
node/scriptNode.js rules in "script" mode
node/moduleNode.js rules in "module" mode
node/module/typescriptNode.js rules in "module" mode using TypeScript
jestJest rules
browserBrowser rules
reactReact rules
react/typescriptReact rules using TypeScript
jsdocJSDoc rules
jsonJSON rules

Dependency tree

  graph TD;
    core --> browser & node/script & node/module
      browser --> react
        react --> react/typescript
      node/module --> jest & node/module/typescript
    jsdoc
    json
    typescript

Install

$ npm install @valtech-commerce/eslint-config

Usage

Add some ESLint config to your .eslintrc.yaml:

extends: "@valtech-commerce/eslint-config/[RULESET]"

Specifications

core

Used plugins / configuration

typescript

Add your tsconfig file to your .eslintrc.yaml:
parserOptions:
  project:
    - "./tsconfig.json" # Your TS config file
Used parser / plugin / configuration

node/script

Used plugin / configuration

node/module

Used plugin / configuration

node/module/typescript

Add your tsconfig file to your .eslintrc.yaml:

settings:
  import/resolver:
    typescript:
      project: "./tsconfig.json" # Your TS config file
Used configuration

jest

Used plugin / configuration

react

Used parser / plugin / configuration

jsdoc

Used plugin / configuration

json

Used plugin / configuration

Documentation

See the Changelog to see what has changed.

Contribute

See the Contributing Guidelines for ways to get started.

See the Support Guide for ways to get help.

See the Security Policy for sharing vulnerability reports.

This project has a Code of Conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Valtech Canada inc.

Keywords

FAQs

Last updated on 17 Mar 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc