5.0.0-rc11 • Published 11 months ago

eslint-config-team23-vue v5.0.0-rc11

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

eslint-config-team23-vue

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

Installation

Add the library to your package.json as devDependency

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

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 team23Vue from "@team23/eslint-config-team23-vue";

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

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

Overriding Settings

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:

// eslint.config.js
import team23Vue from "@team23/eslint-config-team23-vue";

export default [
    ...team23Vue,

    // Any settings added here will override team23Vue
    {
        rules: {
            "@typescript-eslint/prefer-readonly": "off",
        }
    }
];

Additional configuration

Development

Creating a new version after rule changes

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

11 months ago

5.0.0-rc9

11 months ago

1.0.0

3 years ago