Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@chatie/eslint-config

Package Overview
Dependencies
11
Maintainers
2
Versions
52
Issues
File Explorer

Advanced tools

@chatie/eslint-config

ESLint Sharable Configurations and Rules in Chatie Organization

    1.4.1latest
    GitHub

Version published
Maintainers
2
Weekly downloads
853
increased by25.81%

Weekly downloads

Readme

Source

eslint-config

NPM Version npm (tag) NPM

ESLint Sharable Rules in TypeScript Standard Style

ESLint Sharable Rules in TypeScript Standard Style

Source: Using ESLint and Prettier in a TypeScript Project

USAGE

  1. Install @chatie/eslint-config
npm install --save-dev @chatie/eslint-config
  1. It will automatically generate a .eslintrc.js for you (if there's no such file before)

It will contains the following content:

module.exports = { extends: '@chatie', }

3. You are All Set

./node_modules/.bin/eslint

eslint will work and follow the @chatie rules.

STYLES

SEE ALSO

tslint -> eslint

FAQ

1. vscode not linting TypeScript files at all

Add the following config to .vscode/settings.json to enable linting TypeScript files:

"eslint.validate": [ "javascript", "typescript", ],

HISTORY

main v1.0 (Oct 20, 2021)

  1. Sep 18: Clean TSLint...

v0.14

  1. Enforce Common JS (#54)
  2. Upgrade ESLint

v0.11 (Jun 30, 2020)

  1. Update dependencies to latest.
  2. Support Nullish coalescing operator (??)

v0.6 (08 Jun, 2019)

  1. Add rule no-floating-promises
  2. Add rule set (recommended) from eslint-plugin-promise
  3. Add dependence of file-name-linter to lint file names.
  4. Add dependence of markdownlint-cli to lint markdown.
  5. Auto generate .eslintrc.js in the project root directory after install if it not exists.
  6. First beta

v0.0.1 (07 Jun 2019)

  1. Converted tsling.json to .eslintrc.js with the JavaScript Standard Style.

AUTHOR

Huan LI (李卓桓) zixia@zixia.net

Profile of Huan LI (李卓桓) on StackOverflow

  • Code & Docs © 2019 - now Huan LI zixia@zixia.net
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

Keywords

FAQs

Last updated on 19 Jan 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • 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