0.4.1 ā€¢ Published 2 months ago

eslint-plugin-ntnyq v0.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

eslint-plugin-ntnyq

CI NPM VERSION NPM DOWNLOADS COVERAGE LICENSE

Do not use this plugin unless you know exactly every rule may change.

āš ļø Caveat

Do check the output to ensure it's doing its job correctly and only run this on code that has been checked into source control.

Install

npm:

npm i eslint-plugin-ntnyq -D

yarn

yarn add eslint-plugin-ntnyq -D

pnpm

pnpm add eslint-plugin-ntnyq -D

Usage

Add ntnyq to the plugins section of your eslint config file (you can omit the eslint-plugin- prefix) and either use the preset recommended or configure the rules you want:

The recommended preset

The plugin:ntnyq/recommended config enables a subset of the rules that should be most useful to most users.

See src/configs/recommended.ts for more details.

// .eslintrc.json
{
  "extends": [
    // Other presets
    "plugin:ntnyq/recommended"
  ]
}

The all preset

The plugin:ntnyq/all config enables all the the rules.

See src/configs/all.ts for more details.

// .eslintrc.json
{
  "extends": [
    // Other presets
    "plugin:ntnyq/all"
  ]
}

Advanced Configuration

Override/add specific rules configurations.

See also: http://eslint.org/docs/user-guide/configuring.

// .eslintrc.json
{
  "plugins": ["ntnyq"],
  "rules": {
    // Override/add rules settings here, such as:
    "ntnyq/rule-name": "error"
  }
}

Rules

šŸ’¼ Configurations enabled in.\ šŸŒ Set in the plugin:ntnyq/all preset.\ āœ… Set in the plugin:ntnyq/recommended preset.\ šŸ”§ Automatically fixable by the --fix CLI option.\ šŸ’” Manually fixable by editor suggestions.

NameDescriptionšŸ’¼šŸ”§šŸ’”
no-member-accessibilitydisallow usage of typescript member accessibilityšŸŒšŸ”§

License

MIT License Ā© 2023-PRESENT ntnyq

0.4.1

2 months ago

0.4.0

4 months ago

0.3.0

6 months ago

0.3.1

6 months ago

0.2.0

8 months ago

0.1.0

10 months ago

0.0.4

12 months ago

0.0.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.0

1 year ago