fix: move capitalized-comments from @stylistic to core rules
All checks were successful
continuous-integration/drone/push Build is passing
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:
@ -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",
|
||||
|
||||
@ -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',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user