Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(deps): update dependency @stylistic/eslint-plugin to v3 #321

Merged
merged 2 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { baseNamingRuleConfig } from './share/naming-config.js';


// TODO: need no-splice-add and no-splice-remove

Check warning on line 14 in configs/base.js

View workflow job for this annotation

GitHub Actions / Lint PR

Unexpected 'todo' comment: 'TODO: need no-splice-add and...'

const allFiles = ['**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}'];
const tsFiles = ['**/*.{ts,cts,mts,tsx}'];
Expand Down Expand Up @@ -44,7 +44,7 @@
files: allFiles,
linterOptions: {
reportUnusedDisableDirectives: true,
// TODO: typechecking doesn't check this

Check warning on line 47 in configs/base.js

View workflow job for this annotation

GitHub Actions / Lint PR

Unexpected 'todo' comment: 'TODO: typechecking doesn't check this'
...semver.satisfies(eslint.Linter.version, '>=9.19.0') ? { reportUnusedInlineConfigs: 'warn' } : {}
},
settings: {
Expand Down Expand Up @@ -290,7 +290,7 @@
'@stylistic/operator-linebreak': ['error', 'before'],
'@stylistic/padded-blocks': ['error', 'never'],
'@stylistic/quote-props': ['error', 'as-needed'],
'@stylistic/quotes': ['error', 'single'],
'@stylistic/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: 'avoidEscape' }],
'@stylistic/rest-spread-spacing': 'error',
'@stylistic/semi': 'error',
'@stylistic/semi-spacing': 'error',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@eslint/json": "0.10.0",
"@next/eslint-plugin-next": "~15.0.0 || ~15.1.0",
"@stylistic/eslint-plugin": "2.13.0",
"@stylistic/eslint-plugin": "3.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-import-x": "4.6.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,10 @@
dependencies:
"@sinonjs/commons" "^3.0.0"

"@stylistic/eslint-plugin@2.13.0":
version "2.13.0"
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-2.13.0.tgz#53bf175dac8c1ec055b370a6ff77d491cae9a70d"
integrity sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ==
"@stylistic/eslint-plugin@3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-3.1.0.tgz#a9f655c518f76bfc5feb46b467d0f06e511b289d"
integrity sha512-pA6VOrOqk0+S8toJYhQGv2MWpQQR0QpeUo9AhNkC49Y26nxBQ/nH1rta9bUU1rPw2fJ1zZEMV5oCX5AazT7J2g==
dependencies:
"@typescript-eslint/utils" "^8.13.0"
eslint-visitor-keys "^4.2.0"
Expand Down
Loading