Skip to content

Commit 1585afb

Browse files
authored
Merge pull request #512 from VirtualLiveLab/switch-to-stylistic-eslint
chore: remove stylistic plugin
2 parents a0314cd + bda1e7a commit 1585afb

5 files changed

Lines changed: 8 additions & 31 deletions

File tree

.changeset/honest-moons-deny.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@virtual-live-lab/eslint-config": patch
3+
---
4+
5+
chore: remove stylistic plugin

packages/eslint-config/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"@eslint/config-helpers": "0.3.0",
4040
"@eslint/eslintrc": "3.3.1",
4141
"@eslint/js": "9.29.0",
42-
"@stylistic/eslint-plugin-ts": "4.4.1",
4342
"@typescript-eslint/utils": "8.35.0",
4443
"astro-eslint-parser": "1.2.2",
4544
"astrojs-compiler-sync": "1.1.1",

packages/eslint-config/src/base/typescript.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { Linter } from "eslint";
22

33
import { defineConfig } from "@eslint/config-helpers";
4-
import stylisticTs from "@stylistic/eslint-plugin-ts";
54
import { defu } from "defu";
65
import tseslint from "typescript-eslint";
76
import * as typescriptESLintParserForExtraFiles from "typescript-eslint-parser-for-extra-files";
@@ -31,11 +30,7 @@ export const tsConfig = (params: Partial<TSConfigParams> = {}) => {
3130
extraFiles: resolvedParams.extraFiles,
3231
}),
3332
name: "@virtual-live-lab/eslint-config/typescript",
34-
plugins: {
35-
"@stylistic/ts": stylisticTs,
36-
},
3733
rules: {
38-
"@stylistic/ts/no-extra-semi": "error",
3934
"@typescript-eslint/adjacent-overload-signatures": "off",
4035
// #175
4136
"@typescript-eslint/array-type": [

packages/eslint-config/test/__snapshots__/snapshot.test.ts.snap

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,6 @@ exports[`Test ESLint config with snapshot > astro preset > matches snapshot 1`]
11661166
"@",
11671167
"perfectionist:eslint-plugin-perfectionist@4.15.0",
11681168
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.35.0",
1169-
"@stylistic/ts",
11701169
"astro:eslint-plugin-astro@1.3.1",
11711170
"jsx-a11y:eslint-plugin-jsx-a11y@6.10.2",
11721171
],
@@ -1677,7 +1676,7 @@ exports[`Test ESLint config with snapshot > astro preset > matches snapshot 1`]
16771676
0,
16781677
],
16791678
"@stylistic/ts/no-extra-semi": [
1680-
2,
1679+
0,
16811680
],
16821681
"@stylistic/ts/object-curly-spacing": [
16831682
0,
@@ -5820,7 +5819,6 @@ exports[`Test ESLint config with snapshot > react preset > matches snapshot 1`]
58205819
"@",
58215820
"perfectionist:eslint-plugin-perfectionist@4.15.0",
58225821
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.35.0",
5823-
"@stylistic/ts",
58245822
"react",
58255823
"react-hooks:eslint-plugin-react-hooks",
58265824
"react-refresh",
@@ -6332,7 +6330,7 @@ exports[`Test ESLint config with snapshot > react preset > matches snapshot 1`]
63326330
0,
63336331
],
63346332
"@stylistic/ts/no-extra-semi": [
6335-
2,
6333+
0,
63366334
],
63376335
"@stylistic/ts/object-curly-spacing": [
63386336
0,
@@ -7559,7 +7557,6 @@ exports[`Test ESLint config with snapshot > ts preset > matches snapshot 1`] = `
75597557
"@",
75607558
"perfectionist:eslint-plugin-perfectionist@4.15.0",
75617559
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.35.0",
7562-
"@stylistic/ts",
75637560
],
75647561
"processor": undefined,
75657562
"rules": {
@@ -8068,7 +8065,7 @@ exports[`Test ESLint config with snapshot > ts preset > matches snapshot 1`] = `
80688065
0,
80698066
],
80708067
"@stylistic/ts/no-extra-semi": [
8071-
2,
8068+
0,
80728069
],
80738070
"@stylistic/ts/object-curly-spacing": [
80748071
0,

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)