eslint-config-aesthetic-coder
v2.0.10
Published
Eslint configuration of AesthetiCoder for personal projects and more
Downloads
51
Maintainers
Readme
📚 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 managerpostinstall
: This script is for setting up the git hooks and validate the error after commit to githubtype-check
: This script is for type checking the typescript fileslint-eslint
: This script is for format and lint all js ts fileslint-markdown
: This script is for format and lint all markdown fileslint
: This script is for format and lint all the filesbuild
: This script is for build the packagerelease
: 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
- eslint-plugin-import - ESLint plugin with rules that help validate proper imports.
- @typescript-eslint/eslint-plugin - An ESLint plugin which provides lint rules for TypeScript codebase.
- @typescript-eslint/parser - An ESLint parser which leverages TypeScript ESTree to allow for ESLint to lint TypeScript source code.
- eslint-plugin-etc - More general-purpose (TypeScript-related) ESLint rules
- eslint-plugin-perfectionist - 🦄 ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
- eslint-plugin-promise - Enforce best practices for JavaScript promises
- eslint-plugin-security - ESLint rules for Node Security
- eslint-plugin-sonarjs - SonarJS rules for ESLint to detect bugs and suspicious patterns in your code.
- eslint-plugin-sonarjs - More than 100 powerful ESLint rules