@net.christianto/eslint-config 1.0.0 → 1.0.1
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/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/react.d.mts +0 -2
- package/dist/react.mjs +1 -2
- package/dist/types.d.mts +1 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import nodePlugin from "eslint-plugin-n";
|
|
|
4
4
|
import packageJson from "eslint-plugin-package-json";
|
|
5
5
|
import { globalIgnores } from "eslint/config";
|
|
6
6
|
import tseslint from "typescript-eslint";
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
const configs = [
|
|
9
9
|
{
|
|
10
10
|
files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
@@ -40,5 +40,4 @@ const configs = [
|
|
|
40
40
|
"**/coverage/**"
|
|
41
41
|
])
|
|
42
42
|
];
|
|
43
|
-
//#endregion
|
|
44
43
|
export { configs, configs as default };
|
package/dist/react.d.mts
CHANGED
package/dist/react.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { configs } from "./index.mjs";
|
|
2
2
|
import pluginReact from "eslint-plugin-react";
|
|
3
3
|
import globals from "globals";
|
|
4
|
-
|
|
4
|
+
// src/react.ts
|
|
5
5
|
const reactConfig = [
|
|
6
6
|
...configs,
|
|
7
7
|
{
|
|
@@ -16,5 +16,4 @@ const reactConfig = [
|
|
|
16
16
|
pluginReact.configs.flat.recommended,
|
|
17
17
|
pluginReact.configs.flat["jsx-runtime"]
|
|
18
18
|
];
|
|
19
|
-
//#endregion
|
|
20
19
|
export { reactConfig as default, reactConfig };
|
package/dist/types.d.mts
CHANGED