eslint-config-dolmios 1.3.3 → 1.3.4
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/configs/tsconfig/base.js +20 -0
- package/configs/tsconfig/lib.js +31 -0
- package/index.js +6 -1
- package/package.json +1 -1
- package/configs/tsconfig/base.json +0 -20
- package/configs/tsconfig/lib.json +0 -31
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
$schema: "https://json.schemastore.org/tsconfig",
|
|
3
|
+
display: "dolmios",
|
|
4
|
+
compilerOptions: {
|
|
5
|
+
target: "es6",
|
|
6
|
+
lib: ["dom", "dom.iterable", "esnext"],
|
|
7
|
+
allowJs: true,
|
|
8
|
+
skipLibCheck: true,
|
|
9
|
+
strict: true,
|
|
10
|
+
forceConsistentCasingInFileNames: true,
|
|
11
|
+
noEmit: true,
|
|
12
|
+
esModuleInterop: true,
|
|
13
|
+
module: "esnext",
|
|
14
|
+
moduleResolution: "node",
|
|
15
|
+
resolveJsonModule: true,
|
|
16
|
+
isolatedModules: true,
|
|
17
|
+
jsx: "preserve",
|
|
18
|
+
incremental: true,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
$schema: "https://json.schemastore.org/tsconfig",
|
|
3
|
+
display: "dolmios",
|
|
4
|
+
compilerOptions: {
|
|
5
|
+
target: "es6",
|
|
6
|
+
lib: ["dom", "dom.iterable", "esnext"],
|
|
7
|
+
allowJs: true,
|
|
8
|
+
skipLibCheck: true,
|
|
9
|
+
strict: true,
|
|
10
|
+
forceConsistentCasingInFileNames: true,
|
|
11
|
+
noEmit: true,
|
|
12
|
+
esModuleInterop: true,
|
|
13
|
+
module: "esnext",
|
|
14
|
+
moduleResolution: "node",
|
|
15
|
+
resolveJsonModule: true,
|
|
16
|
+
isolatedModules: true,
|
|
17
|
+
jsx: "react-jsx",
|
|
18
|
+
incremental: true,
|
|
19
|
+
importHelpers: true,
|
|
20
|
+
declaration: true,
|
|
21
|
+
sourceMap: true,
|
|
22
|
+
noImplicitReturns: true,
|
|
23
|
+
noFallthroughCasesInSwitch: true,
|
|
24
|
+
noImplicitAny: true,
|
|
25
|
+
noImplicitThis: true,
|
|
26
|
+
noUnusedLocals: true,
|
|
27
|
+
noUnusedParameters: true,
|
|
28
|
+
allowSyntheticDefaultImports: true,
|
|
29
|
+
emitDecoratorMetadata: true,
|
|
30
|
+
},
|
|
31
|
+
};
|
package/index.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from "./configs/eslint/base";
|
|
2
|
+
export { default as prettierConfig } from "./configs/prettier/base";
|
|
3
|
+
export { default as tsConfigBase } from "./configs/tsconfig/base";
|
|
4
|
+
export { default as tsConfigLib } from "./configs/tsconfig/lib";
|
|
5
|
+
// todo: export { default as tsConfigNode } from "./configs/tsconfig/node";
|
|
6
|
+
// todo: export { default as swcConfig } from "./configs/swc/base";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-dolmios",
|
|
3
3
|
"description": " A simple ESLint setup using @typescript-eslint",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.4",
|
|
5
5
|
"author": "Jackson Dolman <mail@dolmios.com>",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/dolmios/eslint-config-dolmios/issues"
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "dolmios",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"target": "es6",
|
|
6
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"strict": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"noEmit": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"module": "esnext",
|
|
14
|
-
"moduleResolution": "node",
|
|
15
|
-
"resolveJsonModule": true,
|
|
16
|
-
"isolatedModules": true,
|
|
17
|
-
"jsx": "preserve",
|
|
18
|
-
"incremental": true
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "dolmios",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"target": "es6",
|
|
6
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"strict": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"noEmit": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"module": "esnext",
|
|
14
|
-
"moduleResolution": "node",
|
|
15
|
-
"resolveJsonModule": true,
|
|
16
|
-
"isolatedModules": true,
|
|
17
|
-
"jsx": "react-jsx",
|
|
18
|
-
"incremental": true,
|
|
19
|
-
"importHelpers": true,
|
|
20
|
-
"declaration": true,
|
|
21
|
-
"sourceMap": true,
|
|
22
|
-
"noImplicitReturns": true,
|
|
23
|
-
"noFallthroughCasesInSwitch": true,
|
|
24
|
-
"noImplicitAny": true,
|
|
25
|
-
"noImplicitThis": true,
|
|
26
|
-
"noUnusedLocals": true,
|
|
27
|
-
"noUnusedParameters": true,
|
|
28
|
-
"allowSyntheticDefaultImports": true,
|
|
29
|
-
"emitDecoratorMetadata": true
|
|
30
|
-
}
|
|
31
|
-
}
|