JSPM

  • Created
  • Published
  • Downloads 5616
  • Score
    100M100P100Q98353F
  • License MIT

The Stacks way to lint.

Package Exports

  • @stacksjs/lint
  • @stacksjs/lint/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stacksjs/lint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Stacks Lint

Easily get your project linted. It "just works."

☘️ Features

  • Single quotes, no semi
  • Auto fix for formatting (aimed to be used as standalone without Prettier)
  • Designed to work with TypeScript, Vue out-of-box (React opt-in)
  • Lint also for json, yaml, markdown
  • Sorted imports, dangling commas for cleaner commit diff
  • Improved component library linting & formatting
  • Stacks support
  • Laravel support
  • ESLint wrapper
  • And various other minor additions, i.e. no-constant-binary-expression usage

"Reasonable defaults, best practices, only one-line of config."

🤖 Usage

pnpm i -D @stacksjs/lint

Now, you can easily access it in your project:

import lint from '@stacksjs/lint'

// ...

To view the full documentation, please visit https://stacksjs.dev/lint.

🧪 Testing

pnpm test

📈 Changelog

Please see our releases page for more information on what has changed recently.

💪🏼 Contributing

Please see CONTRIBUTING for details.

🏝 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Open Web Discord Server

🙏🏼 Credits

Many thanks to the following core technologies & people who have contributed to this package:

📄 License

The MIT License (MIT). Please see LICENSE for more information.

Made with ❤️