Skip to content

πŸ“ ESlint, Stylelint, Commitlint, Prettier, Remark, Semantic Release config for AyaHub.

License

Notifications You must be signed in to change notification settings

weloobe/aya-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Aya Lint

ESlint config, Prettier config, Remark config for AyaHub

Changelog Β· Report Bug Β· Request Feature


Table of contents

TOC

πŸ“¦ Installation

To install Aya Lint, run the following command:

$ bun add @ayahub/lint -D

To use template ignore files, run the following command:

$ curl -O https://raw.githubusercontent.com/weloobe/aya-lint/main/.eslintignore
$ curl -O https://raw.githubusercontent.com/weloobe/aya-lint/main/.gitignore
$ curl -O https://raw.githubusercontent.com/weloobe/aya-lint/main/.prettierignore

🀯 Usage

.npmrc

public-hoist-pattern[]=*@umijs/lint*
public-hoist-pattern[]=*changelog*
public-hoist-pattern[]=*commitlint*
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*postcss*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*remark*
public-hoist-pattern[]=*semantic-release*
public-hoist-pattern[]=*stylelint*

ESlint

config can be found at .eslintrc.js

module.exports = require('@ayahub/lint').eslint;

Stylelint

config can be found at .stylelintrc.js

module.exports = require('@ayahub/lint').stylelint;

Commitlint

config can be found at .commitlintrc.js

module.exports = require('@ayahub/lint').commitlint;

Changelog

config can be found at .changelogrc.js

module.exports = require('@ayahub/lint').changelog;

Remark

config can be found at .remarkrc.js

module.exports = require('@ayahub/lint').remarklint;

Prettier

config can be found at .prettierrc.js

module.exports = require('@ayahub/lint').prettier;

Semantic Release

config can be found at .releaserc.js

module.exports = require('@ayahub/lint').semanticRelease;

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

$ git clone https://github.com/weloobe/aya-lint.git
$ cd ayahub/lint
$ bun install
$ bun start

🀝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.

πŸ”— Credits


πŸ“ License

Copyright Β© 2023 AyaHub.
This project is MIT licensed.

About

πŸ“ ESlint, Stylelint, Commitlint, Prettier, Remark, Semantic Release config for AyaHub.

Resources

License

Stars

Watchers

Forks

Packages

No packages published