@orchestrator-ui/eslint-config-custom 0.0.2

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.
@@ -0,0 +1,9 @@
1
+ yarn run v1.22.19
2
+ $ tsup index.js --format esm
3
+ CLI Building entry: index.js
4
+ CLI tsup v7.1.0
5
+ CLI Target: node16
6
+ ESM Build start
7
+ ESM dist\index.mjs 1.26 KB
8
+ ESM ⚡️ Build success in 28ms
9
+ Done in 0.31s.
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @orchestrator-ui/eslint-config-custom
2
+
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0cef169: Splitted WFO in separate packages
8
+
9
+ ## 0.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Converted tsconfig and eslint to standalone NPM package
package/dist/index.mjs ADDED
@@ -0,0 +1,39 @@
1
+ var __getOwnPropNames = Object.getOwnPropertyNames;
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined")
6
+ return require.apply(this, arguments);
7
+ throw Error('Dynamic require of "' + x + '" is not supported');
8
+ });
9
+ var __commonJS = (cb, mod) => function __require2() {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
12
+
13
+ // index.js
14
+ var require_eslint_config_custom = __commonJS({
15
+ "index.js"(exports, module) {
16
+ module.exports = {
17
+ extends: [
18
+ "plugin:@typescript-eslint/recommended",
19
+ "next",
20
+ "next/core-web-vitals",
21
+ "turbo",
22
+ "prettier"
23
+ ],
24
+ rules: {
25
+ "@next/next/no-html-link-for-pages": "off",
26
+ "@typescript-eslint/ban-ts-comment": "warn",
27
+ "@typescript-eslint/no-explicit-any": "error",
28
+ "react/react-in-jsx-scope": 2,
29
+ "react/jsx-uses-react": 2
30
+ },
31
+ parserOptions: {
32
+ babelOptions: {
33
+ presets: [__require.resolve("next/babel")]
34
+ }
35
+ }
36
+ };
37
+ }
38
+ });
39
+ export default require_eslint_config_custom();
package/index.js ADDED
@@ -0,0 +1,21 @@
1
+ module.exports = {
2
+ extends: [
3
+ 'plugin:@typescript-eslint/recommended',
4
+ 'next',
5
+ 'next/core-web-vitals',
6
+ 'turbo',
7
+ 'prettier',
8
+ ],
9
+ rules: {
10
+ '@next/next/no-html-link-for-pages': 'off',
11
+ '@typescript-eslint/ban-ts-comment': 'warn',
12
+ '@typescript-eslint/no-explicit-any': 'error',
13
+ 'react/react-in-jsx-scope': 2,
14
+ 'react/jsx-uses-react': 2,
15
+ },
16
+ parserOptions: {
17
+ babelOptions: {
18
+ presets: [require.resolve('next/babel')],
19
+ },
20
+ },
21
+ };
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@orchestrator-ui/eslint-config-custom",
3
+ "version": "0.0.2",
4
+ "main": "./dist/index.js",
5
+ "license": "MIT",
6
+ "scripts": {
7
+ "build": "tsup index.js --format esm",
8
+ "dev": "yarn build -- --watch"
9
+ },
10
+ "dependencies": {
11
+ "@typescript-eslint/eslint-plugin": "5.61.0",
12
+ "eslint-config-next": "^13.4.1",
13
+ "eslint-config-prettier": "^8.3.0",
14
+ "eslint-plugin-react": "7.28.0",
15
+ "eslint-config-turbo": "^1.9.3"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ }
20
+ }