@hexatool/eslint-config v3.0.0
Installation
npm install --save-dev eslint @hexatool/eslint-config
Using yarn
yarn add eslint @hexatool/eslint-config -dev
What it does
- Lints JavaScript and TypeScript
using
eslint:recommended
and Prettier - Uses the following plugins:
@typescript-eslint
: TypeScript supportimport
: helps validate proper importssimple-import-sort
: sorts importsunused-imports
: finds and removes unused ES6 module imports
How to use
Add it to your
.eslintrc.js
file{ extends: [ "@hexatool" ] }
Run eslint
eslint .
Or adding to your package.json
"scripts": { "lint": "eslint --ext .js,.ts,.jsx,.tsx,.astro,.json,.md,.mdx .", "lint:fix": "eslint --ext .js,.ts,.jsx,.tsx,.astro,.json,.md,.mdx --fix ." }
ℹ️ Please note that some rules enabled by default require that you have strict: true
in your tsconfig.json
.
Hexatool Code Quality Standards
Publishing this package we are committing ourselves to the following code quality standards:
- Respect Semantic Versioning: No breaking changes in patch or minor versions
- No surprises in transitive dependencies: Use the bare minimum dependencies needed to meet the purpose
- One specific purpose to meet without having to carry a bunch of unnecessary other utilities
- Tests as documentation and usage examples
- Well documented ReadMe showing how to install and use
- License favoring Open Source and collaboration
5 days ago
5 days ago
5 days ago
5 days ago
5 days ago
6 days ago
6 days ago
1 month ago
4 months ago
8 months ago
8 months ago
8 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago