Skip to content

Commit 152d284

Browse files
committed
fix(eslint-config): replace @stylistic/eslint-plugin-jsx rules with @stylistic/eslint-plugin embedded jsx support
1 parent 8684ea1 commit 152d284

File tree

3 files changed

+1
-36
lines changed

3 files changed

+1
-36
lines changed

package-lock.json

Lines changed: 0 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/eslint-config/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"dependencies": {
2323
"@eslint/js": "^9.28.0",
2424
"@stylistic/eslint-plugin": "^4.4.1",
25-
"@stylistic/eslint-plugin-jsx": "^4.4.1",
2625
"eslint-plugin-import": "^2.31.0",
2726
"eslint-plugin-sonarjs": "^3.0.2",
2827
"eslint-plugin-tsdoc": "^0.4.0",

packages/eslint-config/rules/codestyle/stylistic.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import stylistic from '@stylistic/eslint-plugin';
2-
import stylisticJsx from '@stylistic/eslint-plugin-jsx';
32

43
export default [
54
{
@@ -138,12 +137,9 @@ export default [
138137
},
139138
{
140139
files: ['**/*.tsx', '**/*.jsx'],
141-
plugins: {
142-
'@stylistic/jsx': stylisticJsx
143-
},
144140
rules: {
145141
'@stylistic/indent': 'off',
146-
'@stylistic/jsx/jsx-indent-props': ['warn', 'first']
142+
'@stylistic/jsx-indent-props': ['warn', 'first']
147143
}
148144
}
149145
];

0 commit comments

Comments
 (0)