7.0.6 • Published 6 days ago

eslint-config-elegant-coding v7.0.6

Weekly downloads
-
License
-
Repository
-
Last release
6 days ago


📚 Table of content


  • node >= 18.16.0
  • git >= 2.38
  • pnpm >= 8.2.0

Run this command to install eslint and the plugin.

pnpm i -D eslint eslint-config-aesthetic-coder

To use this plugin put in your eslint config file this lines of codes.

js - javascript

{
  "root": true,
  "extends": "aesthetic-coder"
}

ts - typescript

{
  "root": true,
  "extends": [
    "aesthetic-coder",
    "aesthetic-coder/typescript",
  ]
}

tsx - jsx

{
  "root": true,
  "extends": [
    "aesthetic-coder",
    "aesthetic-coder/typescript",
    "aesthetic-coder/jsx_a11y",
  ]
}

qwik

{
  "root": true,
  "extends": [
    "aesthetic-coder",
    "aesthetic-coder/typescript",
    "aesthetic-coder/jsx_a11y",
    "aesthetic-coder/qwik",
  ]
}

The following scripts are available in the package.json:

  • preinstall: This script is for only allow pnpm as package manager
  • postinstall: This script is for setting up the git hooks and validate the error after commit to github
  • type-check: This script is for type checking the typescript files
  • lint-eslint: This script is for format and lint all js ts files
  • lint-markdown: This script is for format and lint all markdown files
  • lint: This script is for format and lint all the files
  • build: This script is for build the package
  • release: This script is for generate a new release in github

  • typescript - TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
  • eslint - ESLint is an open source project that helps you find and fix problems with your JavaScript code.
  • rimraf - A rm -rf util for nodejs