JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 167
  • Score
    100M100P100Q83833F
  • License MIT

Javascript Coding Style

Package Exports

  • @hongtak/style

Readme

Style

To use my style, use the following command in Terminal:

$ npm install --save-dev @hongtak/style

or

$ npm i -D @hongtak/style

To setup, you'll need to add the following lines: (requires eslint>=v9.0.0)

import style from '@hongtak/style'

export default defineConfig([
  { files: ['**/*.{js,mjs,cjs}'], plugins: { js }, extends: ['js/recommended'] },
  { files: ['**/*.{js,mjs,cjs}'], languageOptions: { globals: globals.node } },
  style
])

Note: It recommends a use of the "engines" field of package.json. The "engines" field is used by n/no-unsupported-features/* rules.

"engines": {
  "node": ">=22.11.0" // Use your node runtime version here
}