承接 kocal/oxlint-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kocal/oxlint-bundle

最新稳定版本:v1.1.1

Composer 安装命令:

composer require kocal/oxlint-bundle

包简介

A Symfony Bundle to easily download and use Oxlint (from the Oxc project) in your Symfony applications, to lint your front assets without needing Node.js.

README 文档

README

Warning

This package has been deprecated in favor of Kocal/OxcBundle.

OxlintBundle

.github/workflows/ci.yaml Packagist Version

A Symfony Bundle to easily download and use Oxlint (from the Oxc project) in your Symfony applications, to lint your front assets without needing Node.js (ex: when using Symfony AssetMapper).

Tip

If you prefer to use Biome.js instead, check Kocal/BiomeJsBundle!

Installation

Install the bundle with Composer:

composer require kocal/oxlint-bundle --dev

If you use Symfony Flex, everything must be configured automatically. If that's not the case, please follow the next steps:

Manual installation steps
  1. Register the bundle in your config/bundles.php file:
return [
    // ...
    Kocal\OxlintBundle\KocalOxlintBundle::class => ['dev' => true],
];
  1. Create the configuration file config/packages/kocal_oxlint.yaml:
when@dev:
    kocal_oxlint:
        # The Oxlint binary version to use, that you can find at https://github.com/oxc-project/oxc/tags,
        # it follows the pattern "oxlint_v<binary_version>"
        binary_version: '1.8.0'
  1. Create the recommended .oxlintrc.json file at the root of your project:
{
  "ignorePatterns": [
    "assets/vendor/**",
    "public/assets/**",
    "public/bundles/**",
    "var/**",
    "vendor/**"
  ]
}

Configuration

The bundle is configured in the config/packages/kocal_oxlint.yaml file:

when@dev:
    kocal_oxlint:

        # The Oxlint binary version to use, that you can find at https://github.com/oxc-project/oxc/tags,
        # it follows the pattern "oxlint_v<binary_version>"
        binary_version: '1.8.0'

Usage

oxlint:download

Download the Oxlint binary for your configured version and for your platform (Linux, macOS, Windows).

By default, the command will download the binary in the bin/ directory of your project.

php bin/console oxlint:download
bin/oxlint --version

# or, with a custom destination directory
php bin/console oxlint:download path/to/bin
path/to/bin/oxlint --version

Inspirations

统计信息

  • 总下载量: 99
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固