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",
|
"name": "@vigdorov/eslint-config",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Shared ESLint configuration with flat config",
|
"description": "Shared ESLint configuration with flat config",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"files": ["dist"],
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.js",
|
".": "./dist/index.js",
|
||||||
"./base": "./dist/base.js",
|
"./base": "./dist/base.js",
|
||||||
|
|||||||
@ -30,6 +30,7 @@ export const qualityRules: Rules = {
|
|||||||
'array-callback-return': ['warn', {allowImplicit: true, checkForEach: true}],
|
'array-callback-return': ['warn', {allowImplicit: true, checkForEach: true}],
|
||||||
'default-param-last': 'warn',
|
'default-param-last': 'warn',
|
||||||
'yoda': 'warn',
|
'yoda': 'warn',
|
||||||
|
'capitalized-comments': 'warn',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const typescriptRules: Rules = {
|
export const typescriptRules: Rules = {
|
||||||
@ -60,7 +61,6 @@ export const stylisticRules: Rules = {
|
|||||||
'@stylistic/lines-between-class-members': ['warn', 'always'],
|
'@stylistic/lines-between-class-members': ['warn', 'always'],
|
||||||
'@stylistic/line-comment-position': ['warn', {position: 'above'}],
|
'@stylistic/line-comment-position': ['warn', {position: 'above'}],
|
||||||
'@stylistic/multiline-comment-style': ['warn', 'starred-block'],
|
'@stylistic/multiline-comment-style': ['warn', 'starred-block'],
|
||||||
'@stylistic/capitalized-comments': 'warn',
|
|
||||||
'@stylistic/max-len': [
|
'@stylistic/max-len': [
|
||||||
'warn',
|
'warn',
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user