open-index/open-npm huggingface dataset:
npm package: @ofk/eslint-config
Description: [![npm](https://img.shields.io/npm/v/@ofk/eslint-config)](https://npmjs.com/package/@ofk/eslint-config) ![ci](https://github.com/ofk/eslint-config/actions/workflows/ci.yml/badge.svg)
Author: ofk
Latest version: 0.4.0

# @ofk/eslint-config

[![npm](https://img.shields.io/npm/v/@ofk/eslint-config)](https://npmjs.com/package/@ofk/eslint-config)
![ci](https://github.com/ofk/eslint-config/actions/workflows/ci.yml/badge.svg)

@ofk/eslint-config is an eslint config that enables **more rules than recommended**.
This is the base for [@ofk/eslint-config-recommend](https://npmjs.com/package/@ofk/eslint-config-recommend).

## Install

```sh
npm install --save-dev @ofk/eslint-config
npm install --save-dev $(npm info @ofk/eslint-config peerDependencies --json | jq -r 'to_entries | map("\(.key)@\(.value)") | join(" ")')
```

or

```sh
npx install-peerdeps --dev @ofk/eslint-config
```

## Setup

```js
// eslint.config.js
import config from '@ofk/eslint-config';

export default config();
```

You can customize it. For example:

```js
import config from '@ofk/eslint-config';
import configPrettier from 'eslint-config-prettier';

export default config({
  extends: [configPrettier],
  ignores: ['dist/'],
  imports: {
    defaultExportFiles: ['src/routes/**'],
  },
  rules: {
    '@typescript-eslint/explicit-function-return-type': 'off',
  },
  settings: {
    'import/resolver': {
      typescript: {},
    },
  },
  ts: {
    strict: false,
  },
});
```
npm package: @ofk/eslint-config-recommend
Description: eslint config with typescript and prettier support
Author: ofk
Latest version: 8.0.0

# @ofk/eslint-config-recommend

[![npm](https://img.shields.io/npm/v/@ofk/eslint-config-recommend)](https://npmjs.com/package/@ofk/eslint-config-recommend)
![ci](https://github.com/ofk/eslint-config-recommend/actions/workflows/ci.yml/badge.svg)

This is an my eslint config.

It uses [@ofk/eslint-config](https://github.com/ofk/eslint-config) as a base, has [Prettier](https://prettier.io/) baked in, and overrides some rules I've seen ourselves having to change often.

## Quick start

1. Install the following dev-dependencies:

   ```sh
   npm install --save-dev @ofk/eslint-config-recommend eslint prettier typescript
   ```

2. Extend the `@ofk/eslint-config-recommend` config in your `eslint.config.js`:

   ```js
   import config from '@ofk/eslint-config-recommend';

   export default config();
   ```

3. Run `eslint` on your project as part of your `lint` and `format` scripts:

   ```js
   "scripts": {
     "lint": "eslint . && prettier --check .",
     "format": "eslint --fix . && prettier --write .",
     "pretest": "npm run lint",
     "test": "test command"
   }
   ```

4. (Optional) Set up prettier config in `prettier` key in your `package.json`:

   ```js
   "prettier": "@ofk/eslint-config-recommend/.prettierrc.json"
   ```

   Read more about shared configs [here](https://prettier.io/blog/2019/04/12/1.17.0.html#config), especially if you need to extend/override the default configuration.
npm package: @ofk/stylelint-config-recommend
Description: stylelint config with scss support
Author: ofk
Latest version: 7.1.0

# @ofk/stylelint-config-recommend

This is an my stylelint config.

It uses [Standard's](https://github.com/stylelint/stylelint-config-standard) as a base, has [Prettier](https://prettier.io/) and [SCSS](https://sass-lang.com/) baked in, and overrides some rules I've seen ourselves having to change often.

## Quick start

1. Install the following dev-dependencies:

   ```
   npm install --save-dev @ofk/stylelint-config-recommend stylelint prettier
   ```

2. Extend the `@ofk/stylelint-config-recommend` config in your `.stylelintrc` (or `stylelint` key in your `package.json`):

   ```json
   "stylelint": {
     "extends": "@ofk/stylelint-config-recommend"
   }
   ```

3. Run `eslint` on your project as part of your `lint` and `format` scripts:

   ```json
   "scripts": {
     "lint": "stylelint \"**/*.{css,scss}\"",
     "format": "npm run lint -- --fix",
     "pretest": "npm run lint",
     "test": "test command"
   }
   ```
npm package: @ofk/uripath
Description: uripath provides utilities for node:path compatible uri operation.
Author: ofk
Latest version: 0.0.1

# @ofk/uripath

uripath provides utilities for node:path compatible uri operation.

## Install

```sh
npm install @ofk/uripath
```

## Usage

```jsx
const uripath = require('@ofk/uripath');

console.log(uripath.join('http://example.com/dir/', '../../file'));
// => 'http://example.com/file'
```