@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.
- package/.turbo/turbo-build.log +9 -0
- package/CHANGELOG.md +13 -0
- package/dist/index.mjs +39 -0
- package/index.js +21 -0
- package/package.json +20 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
yarn run v1.22.19
|
|
2
|
+
$ tsup index.js --format esm
|
|
3
|
+
[34mCLI[39m Building entry: index.js
|
|
4
|
+
[34mCLI[39m tsup v7.1.0
|
|
5
|
+
[34mCLI[39m Target: node16
|
|
6
|
+
[34mESM[39m Build start
|
|
7
|
+
[32mESM[39m [1mdist\index.mjs [22m[32m1.26 KB[39m
|
|
8
|
+
[32mESM[39m ⚡️ Build success in 28ms
|
|
9
|
+
Done in 0.31s.
|
package/CHANGELOG.md
ADDED
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
|
+
}
|