@team23/eslint-config-team23-vue v6.0.1
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 { createVueEslintConfig } from "@team23/eslint-config-team23-vue";
export default [
...createVueEslintConfig(),
];
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
- If your project relies on internationalization, you may want to add vue/no-bare-strings-in-template to your config.
- It may be helpful to enable vue/require-prop-comment to document component interfaces.
Development
Creating a new version after rule changes
- Update CHANGELOG.md.
- Run npm version | major | minor | patch -m "feat(core): ".
- Push commits and tags.
- Run npm publish --access public to publish the new version to npm.
2 months ago
2 months ago
10 months ago
10 months ago
12 months ago
12 months ago
12 months ago
12 months ago
10 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago