File tree 7 files changed +1
-52
lines changed
7 files changed +1
-52
lines changed Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint"
2
2
import { pluginImportAstroRulesExtra } from "./plugin-import-rules.cjs"
3
3
import astroPlugin from "eslint-plugin-astro"
4
- import * as onlyWarnPlugin from "eslint-plugin-only-warn"
5
4
import astroParser from "astro-eslint-parser"
6
5
7
6
export const astroConfig : Linter . Config [ ] = [
@@ -21,7 +20,6 @@ export const astroConfig: Linter.Config[] = [
21
20
} ,
22
21
plugins : {
23
22
astro : astroPlugin ,
24
- "only-warn" : onlyWarnPlugin ,
25
23
} ,
26
24
rules : {
27
25
...pluginImportAstroRulesExtra ,
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { pluginNodeRules } from "./plugin-node-rules.cjs"
2
2
import { pluginImportRulesExtra } from "./plugin-import-rules.cjs"
3
3
import type { Linter } from "eslint"
4
4
import * as eslintPluginCoffee from "eslint-plugin-coffee"
5
- import * as onlyWarnPlugin from "eslint-plugin-only-warn"
6
5
import * as nodePlugin from "eslint-plugin-node"
7
6
import * as coffeeParser from "eslint-plugin-coffee/parser"
8
7
@@ -17,7 +16,6 @@ export const coffeeConfig: Linter.Config = {
17
16
plugins : {
18
17
coffee : eslintPluginCoffee ,
19
18
node : nodePlugin ,
20
- "only-warn" : onlyWarnPlugin ,
21
19
} ,
22
20
rules : {
23
21
...pluginNodeRules ,
Original file line number Diff line number Diff line change 1
1
import nonStrictConfig from "./index-react.cjs"
2
2
3
- // // remove only-warn from javascript
4
- // if (
5
- // nonStrictConfig.plugins !== undefined &&
6
- // nonStrictConfig.plugins[nonStrictConfig.plugins.length - 1] === "only-warn"
7
- // ) {
8
- // nonStrictConfig.plugins.pop()
9
- // }
10
-
11
- // // remove only-warn from overrides
12
- // nonStrictConfig.overrides?.forEach((overrides) => {
13
- // if (overrides.plugins !== undefined && overrides.plugins[overrides.plugins.length - 1] === "only-warn") {
14
- // overrides.plugins.pop()
15
- // }
16
- // })
17
-
18
3
export default nonStrictConfig
Original file line number Diff line number Diff line change 1
1
import nonStrictConfig from "./index-solid.cjs"
2
2
3
- // // remove only-warn from javascript
4
- // if (
5
- // nonStrictConfig.plugins !== undefined &&
6
- // nonStrictConfig.plugins[nonStrictConfig.plugins.length - 1] === "only-warn"
7
- // ) {
8
- // nonStrictConfig.plugins.pop()
9
- // }
10
-
11
- // // remove only-warn from overrides
12
- // nonStrictConfig.overrides?.forEach((overrides) => {
13
- // if (overrides.plugins !== undefined && overrides.plugins[overrides.plugins.length - 1] === "only-warn") {
14
- // overrides.plugins.pop()
15
- // }
16
- // })
17
3
18
4
export default nonStrictConfig
Original file line number Diff line number Diff line change 1
1
import nonStrictConfig from "./index.cjs"
2
2
3
- // // remove only-warn from javascript
4
- // if (
5
- // nonStrictConfig.plugins !== undefined &&
6
- // nonStrictConfig.plugins[nonStrictConfig.plugins.length - 1] === "only-warn"
7
- // ) {
8
- // nonStrictConfig.plugins.pop()
9
- // }
10
-
11
- // // remove only-warn from overrides
12
- // nonStrictConfig.overrides?.forEach((overrides) => {
13
- // if (overrides.plugins !== undefined && overrides.plugins[overrides.plugins.length - 1] === "only-warn") {
14
- // overrides.plugins.pop()
15
- // }
16
- // })
17
-
18
3
export default nonStrictConfig
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import type { Linter } from "eslint"
5
5
import * as eslintBabelParser from "@babel/eslint-parser"
6
6
import * as nodePlugin from "eslint-plugin-node"
7
7
import * as importPlugin from "eslint-plugin-import"
8
- import * as onlyWarnPlugin from "eslint-plugin-only-warn"
9
8
10
9
import js from "@eslint/js"
11
10
@@ -33,7 +32,7 @@ export const jsConfig: Linter.Config[] = [
33
32
plugins : {
34
33
node : nodePlugin ,
35
34
import : importPlugin ,
36
- "only-warn" : onlyWarnPlugin ,
35
+
37
36
} ,
38
37
rules : {
39
38
...eslintRulesExtra ,
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import * as typeScriptPlugin from "typescript-eslint"
3
3
import type { Linter } from "eslint"
4
4
import * as importPlugin from "eslint-plugin-import"
5
5
import * as nodePlugin from "eslint-plugin-node"
6
- import * as onlyWarnPlugin from "eslint-plugin-only-warn"
7
6
import type { GlobifiedEntry } from "globify-gitignore"
8
7
import makeSynchronous from "make-synchronous"
9
8
import { eslintRulesExtra } from "./official-eslint-rules.cjs"
@@ -137,7 +136,6 @@ export const tsConfig: Linter.Config = {
137
136
plugins : {
138
137
node : nodePlugin ,
139
138
import : importPlugin ,
140
- "only-warn" : onlyWarnPlugin ,
141
139
} ,
142
140
rules : {
143
141
...javaScriptRules ( ) ,
You can’t perform that action at this time.
0 commit comments