@akanjs/lint 0.9.35 → 0.9.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/src/eslintConfig.js
CHANGED
|
@@ -32,7 +32,6 @@ __export(eslintConfig_exports, {
|
|
|
32
32
|
module.exports = __toCommonJS(eslintConfig_exports);
|
|
33
33
|
var import_eslintrc = require("@eslint/eslintrc");
|
|
34
34
|
var import_js = __toESM(require("@eslint/js"));
|
|
35
|
-
var import_eslint_plugin = __toESM(require("@typescript-eslint/eslint-plugin"));
|
|
36
35
|
var import_parser = __toESM(require("@typescript-eslint/parser"));
|
|
37
36
|
var import_eslint_plugin_simple_import_sort = __toESM(require("eslint-plugin-simple-import-sort"));
|
|
38
37
|
var import_eslint_plugin_unused_imports = __toESM(require("eslint-plugin-unused-imports"));
|
|
@@ -101,8 +100,7 @@ const eslintConfig = [
|
|
|
101
100
|
plugins: {
|
|
102
101
|
"@akanjs/lint": import_lintRule.akanjsLint,
|
|
103
102
|
"unused-imports": import_eslint_plugin_unused_imports.default,
|
|
104
|
-
"simple-import-sort": import_eslint_plugin_simple_import_sort.default
|
|
105
|
-
"@typescript-eslint": import_eslint_plugin.default
|
|
103
|
+
"simple-import-sort": import_eslint_plugin_simple_import_sort.default
|
|
106
104
|
},
|
|
107
105
|
languageOptions: {
|
|
108
106
|
parser: import_parser.default,
|
|
@@ -151,10 +149,6 @@ const eslintConfig = [
|
|
|
151
149
|
"import/newline-after-import": "warn"
|
|
152
150
|
}
|
|
153
151
|
},
|
|
154
|
-
...compat.extends("plugin:@typescript-eslint/recommended").map((config) => ({
|
|
155
|
-
...config,
|
|
156
|
-
files: ["**/*.ts", "**/*.tsx"]
|
|
157
|
-
})),
|
|
158
152
|
{
|
|
159
153
|
files: ["**/*.ts", "**/*.tsx"],
|
|
160
154
|
rules: {
|
package/esm/src/eslintConfig.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FlatCompat } from "@eslint/eslintrc";
|
|
2
2
|
import js from "@eslint/js";
|
|
3
|
-
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
4
3
|
import tsParser from "@typescript-eslint/parser";
|
|
5
4
|
import simpleImportSort from "eslint-plugin-simple-import-sort";
|
|
6
5
|
import unusedImports from "eslint-plugin-unused-imports";
|
|
@@ -69,8 +68,7 @@ const eslintConfig = [
|
|
|
69
68
|
plugins: {
|
|
70
69
|
"@akanjs/lint": akanjsLint,
|
|
71
70
|
"unused-imports": unusedImports,
|
|
72
|
-
"simple-import-sort": simpleImportSort
|
|
73
|
-
"@typescript-eslint": typescriptEslint
|
|
71
|
+
"simple-import-sort": simpleImportSort
|
|
74
72
|
},
|
|
75
73
|
languageOptions: {
|
|
76
74
|
parser: tsParser,
|
|
@@ -119,10 +117,6 @@ const eslintConfig = [
|
|
|
119
117
|
"import/newline-after-import": "warn"
|
|
120
118
|
}
|
|
121
119
|
},
|
|
122
|
-
...compat.extends("plugin:@typescript-eslint/recommended").map((config) => ({
|
|
123
|
-
...config,
|
|
124
|
-
files: ["**/*.ts", "**/*.tsx"]
|
|
125
|
-
})),
|
|
126
120
|
{
|
|
127
121
|
files: ["**/*.ts", "**/*.tsx"],
|
|
128
122
|
rules: {
|