forked from RossWilliams/ts-case-convert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.projenrc.js
More file actions
62 lines (59 loc) · 1.36 KB
/
.projenrc.js
File metadata and controls
62 lines (59 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
const {
TypeScriptProject,
NodePackageManager,
ProjectType,
} = require('projen');
const project = new TypeScriptProject({
defaultReleaseBranch: 'main',
jsiiFqn: 'projen.TypeScriptProject',
name: 'typescript-case-convert',
authorEmail: 'npm@fmpm.dev',
authorName: 'Filipe Miranda',
description:
'Typescript type-preserving conversion of objects between camelCase, snake_case, and PascalCase',
entrypoint: 'lib/index.js',
keywords: [
'typescript',
'conversion',
'camelCase',
'camel-case',
'snake_case',
'snake-case',
'PascalCase',
'pascal-case',
],
packageManager: NodePackageManager.YARN,
repository: 'https://github.com/filipemir/typescript-case-convert.git',
codeCov: true,
codeCovTokenSecret: 'CODECOV_TOKEN',
releaseToNpm: true,
license: 'Apache-2.0',
projectType: ProjectType.LIBRARY,
tsconfig: {
compilerOptions: {
noUnusedLocals: false,
},
},
jestOptions: {
typescriptConfig: {
compilerOptions: {
noUnusedLocals: false,
},
},
},
});
project.eslint.addRules({
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/indent': 'off',
'comma-dangle': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_',
},
],
});
project.synth();