fix: move capitalized-comments from @stylistic to core rules
All checks were successful
continuous-integration/drone/push Build is passing

capitalized-comments is not a @stylistic rule, it's a core ESLint rule.
Bump @vigdorov/eslint-config to 1.0.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 00:02:49 +03:00
parent d346c22c72
commit ac30ac1e2b
2 changed files with 5 additions and 3 deletions

View File

@ -1,11 +1,13 @@
{
"name": "@vigdorov/eslint-config",
"version": "1.0.0",
"version": "1.0.1",
"description": "Shared ESLint configuration with flat config",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"exports": {
".": "./dist/index.js",
"./base": "./dist/base.js",

View File

@ -30,6 +30,7 @@ export const qualityRules: Rules = {
'array-callback-return': ['warn', {allowImplicit: true, checkForEach: true}],
'default-param-last': 'warn',
'yoda': 'warn',
'capitalized-comments': 'warn',
};
export const typescriptRules: Rules = {
@ -60,7 +61,6 @@ export const stylisticRules: Rules = {
'@stylistic/lines-between-class-members': ['warn', 'always'],
'@stylistic/line-comment-position': ['warn', {position: 'above'}],
'@stylistic/multiline-comment-style': ['warn', 'starred-block'],
'@stylistic/capitalized-comments': 'warn',
'@stylistic/max-len': [
'warn',
{