@flickjs/scan
v0.0.1-beta.4
Published
Hyper-fast JavaScript and TypeScript scan tool
Maintainers
Readme
@flickjs/scan
Blazing-fast JavaScript and TypeScript linter, powered by Rust.
Install
npm install -g @flickjs/scanOr as a dev dependency:
npm install -D @flickjs/scanUsage
# Generate a starter config for the current project
flick-scan init
# Lint current directory
flick-scan check .
# Lint a specific directory
flick-scan check src
# JSON output
flick-scan check . --format jsonConfiguration
Create a flick.json in your project root:
{
"detect": true,
"rules": {
"no-explicit-any": "error",
"no-unused-vars": "warn",
"no-console": "off",
"prefer-const": "error",
"react/no-fetch-in-effect": "warn"
}
}With "detect": true, Flick Scan auto-enables matching built-in categories for React, Next.js, React
Native, and server-side projects when their frameworks are detected from package.json. Explicit
rule settings still win, including "off".
Supported Platforms
| OS | Architecture | |---------|-------------| | macOS | arm64, x64 | | Linux | x64, arm64 | | Windows | x64 |
License
MIT
