Skip to content

Commit 732a929

Browse files
committed
fix: remove jasmine global support
1 parent f187bd0 commit 732a929

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/index.cts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { pluginImportSettings } from "./plugin-import-rules.cjs"
99
import semverMajor from "semver/functions/major"
1010
import { getEslintVersion } from "./eslint-version.cjs"
1111
import { astroConfig } from "./astro.cjs"
12+
import type { Linter } from "eslint"
1213

1314
function maybeAddCoffeeScript() {
1415
try {
@@ -25,18 +26,16 @@ function maybeAddCoffeeScript() {
2526
return []
2627
}
2728

28-
const config = {
29+
const config: Linter.Config = {
2930
root: true,
3031
env: {
3132
atomtest: true,
3233
es6: true,
3334
node: true,
34-
browser: true,
35-
jasmine: true,
35+
browser: true
3636
},
3737
globals: {
38-
atom: "readonly",
39-
measure: "readonly",
38+
atom: "readonly"
4039
},
4140
...jsConfig,
4241
overrides: [tsConfig, jsonConfig, yamlConfig, htmlConfig, astroConfig, ...maybeAddCoffeeScript()],

0 commit comments

Comments
 (0)