Skip to content

A collection of onecfg files specifically designed to configure TypeScript, Rust, and Zig projects.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

clebert/onecfg-lib

Repository files navigation

onecfg-lib

A collection of onecfg files specifically designed to configure TypeScript, Rust, and Zig projects.

Configuring ESLint

eslint.config.js:

import { createConfigs } from 'onecfg-lib-eslint';

export default [
  { ignores: [`dist/`, `lib/`] },

  ...createConfigs({
    browser: true,
    node: true,
  }),
];

package.json:

{
  "type": "module",
  "scripts": {
    "lint": "eslint ."
  },
  "devDependencies": {
    "onecfg-lib-eslint": "^1.0.0"
  }
}

onecfg.json:

{
  "extends": [
    "https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-eslint.json",
    "https://raw.githubusercontent.com/clebert/onecfg-lib/main/lib/onecfg-vscode.json"
  ]
}

About

A collection of onecfg files specifically designed to configure TypeScript, Rust, and Zig projects.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks