9.0.0-rc11 • Published 10 months ago

eslint-config-team23-standard v9.0.0-rc11

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

eslint-config-team23-standard

A comprehensive ESLint configuration used by TEAM23 for maintaining consistent and strict JavaScript coding standards. This package includes a combination of stylistic and rigorous rule sets to ensure high code quality across JavaScript projects.

Installation

Add the library to your package.json as devDependency

npm i --save-dev @team23/eslint-config-team23-standard

Usage in your project

To use the shareable config, import the package inside an eslint.config.js file and add it to the exported array:

// eslint.config.js (ES Module)
import team23Standard from "@team23/eslint-config-team23-standard";

export default [
    ...team23Standard,
];
// eslint.config.js (CommonJS)
const team23Standard = require('@team23/eslint-config-team23-standard');

module.exports = [
    ...team23Standard.default,
];

Override rules

You can override settings from the shareable config by adding them directly into your eslint.config.js file after importing the shareable config. For example:

import team23Standard from "@team23/eslint-config-team23-standard";

export default [
    team23Standard,
    {
        files: ['*.js'],
        rules: {
            "no-magic-numbers": ["off"]
        }
    }
];

Contribute

For information on how to contribute, checkout CONTRIBUTING.md.

Creating a new version after rule changes

  1. Update CHANGELOG.md.
  2. Run npm version | major | minor | patch -m "feat(java-script): ".
  3. Push commits and tags.
  4. Run npm publish --access public to publish the new version to npm.
9.0.0-rc9

10 months ago

9.0.0-rc10

10 months ago

9.0.0-rc11

10 months ago

9.0.0-rc6

10 months ago

9.0.0-rc7

10 months ago

9.0.0-rc8

10 months ago

9.0.2

1 year ago

9.0.1

1 year ago

9.0.0

1 year ago

2.0.1

3 years ago