Skip to content

Delnegend/hagemanto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hagemanto

Discipline TS

A very opinionated ESLint rules and config, check lib/index.js for more info.

Usage

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

export default [
    // ...
    ...hagemanto({
        styler = "stylistic",
        enableJsx = true,
        enableTs = true,
        enableTailwind: true,
        sortImports = 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.