0.2.0 • Published 28 days ago

neostandard v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
28 days ago

neostandard

A modern equivalent to standard

Usage as CLI

TODO

Usage as config

  1. npm install -D eslint@^9.0.0 neostandard
  2. Add an eslint.config.js like:

    import { neostandard } from 'neostandard'
    
    export default neostandard({ semi: true, tsForJs: true })

    Or for the most basic setup:

    export { default } from 'neostandard'
  3. Run ESLint using npx eslint ., npx eslint . --fix or in some other way

Options

  • semi - boolean - when set semi-colons will be enforced rather than banned (defaults to false)
  • noTs - boolean - deactivates all TypeScript based linting (defaults to false)
  • tsForJs - boolean - activates TypeScript based linting for JavaScript files (defaults to false)
  • typeChecking - boolean - activates type checking rules (defaults to false)

Additional TypeScript Eslint Parser options