Skip to content

Delnegend/hagemanto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hagemanto

Write TS with self-discipline.

Qu'est-ce que c'est ?

A very opinionated ESLint rules and config, containing

Plugin Config preset
ESLint @eslint/js.configs.recommended.rules
typescript-eslint strictTypeChecked, stylisticTypeChecked
@stylistic/eslint-plugin-ts default.configs["all-flat"]
eslint-plugin-prettier prettier
@cadencejs/eslint-plugin cadence

with many more rules I've manually configured that aren't included in those presets, considering the following sources:

Usage

pnpm i -D eslint github:Delnegend/hagemanto
// eslint.config.js
import hagemanto from "eslint-plugin-hagemanto";

export default [
    // ...
	...hagemanto({
        enablePrettier = false,
        enableJsx = true,
        enableTs = true,
    }), // or just `...hagemanto()` if this is what you're using
    // ,,,
]

Development

There's no build step, just run pnpm lint and expect linting errors from eslint.

About

A very opinionated ESLint config.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published