generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert config to YAML and cleanup (#67)
- Loading branch information
1 parent
5f06121
commit 0468748
Showing
16 changed files
with
123 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
root: true | ||
env: | ||
node: true | ||
es6: true | ||
'jest/globals': true | ||
extends: ['eslint:recommended', 'plugin:jest/recommended', 'plugin:@typescript-eslint/recommended'] | ||
ignorePatterns: ['__tests__', '.yarn', 'dist', 'lib', 'node_modules', 'jest.config.js'] | ||
plugins: ['jest', '@typescript-eslint'] | ||
parser: '@typescript-eslint/parser' | ||
parserOptions: | ||
ecmaVersion: 2018 | ||
sourceType: module | ||
project: './tsconfig.json' | ||
rules: | ||
'i18n-text/no-en': 'off' | ||
'eslint-comments/no-use': 'off' | ||
'import/no-namespace': 'off' | ||
'no-unused-vars': 'off' | ||
'@typescript-eslint/no-unused-vars': 'error' | ||
'@typescript-eslint/explicit-member-accessibility': ['error', {'accessibility': 'no-public'}] | ||
'@typescript-eslint/no-require-imports': 'error' | ||
'@typescript-eslint/array-type': 'error' | ||
'@typescript-eslint/await-thenable': 'error' | ||
'@typescript-eslint/ban-ts-comment': 'error' | ||
'camelcase': 'off' | ||
'@typescript-eslint/consistent-type-assertions': 'error' | ||
'@typescript-eslint/explicit-function-return-type': ['error', {'allowExpressions': true}] | ||
'@typescript-eslint/func-call-spacing': ['error', 'never'] | ||
'@typescript-eslint/no-array-constructor': 'error' | ||
'@typescript-eslint/no-empty-interface': 'error' | ||
'@typescript-eslint/no-explicit-any': 'error' | ||
'@typescript-eslint/no-extraneous-class': 'error' | ||
'@typescript-eslint/no-for-in-array': 'error' | ||
'@typescript-eslint/no-inferrable-types': 'error' | ||
'@typescript-eslint/no-misused-new': 'error' | ||
'@typescript-eslint/no-namespace': 'error' | ||
'@typescript-eslint/no-non-null-assertion': 'warn' | ||
'@typescript-eslint/no-unnecessary-qualifier': 'error' | ||
'@typescript-eslint/no-unnecessary-type-assertion': 'error' | ||
'@typescript-eslint/no-useless-constructor': 'error' | ||
'@typescript-eslint/no-var-requires': 'error' | ||
'@typescript-eslint/prefer-for-of': 'warn' | ||
'@typescript-eslint/prefer-function-type': 'warn' | ||
'@typescript-eslint/prefer-includes': 'error' | ||
'@typescript-eslint/prefer-string-starts-ends-with': 'error' | ||
'@typescript-eslint/promise-function-async': 'error' | ||
'@typescript-eslint/require-array-sort-compare': 'error' | ||
'@typescript-eslint/restrict-plus-operands': 'error' | ||
'semi': 'off' | ||
'@typescript-eslint/semi': ['error', 'never'] | ||
'@typescript-eslint/type-annotation-spacing': 'error' | ||
'@typescript-eslint/unbound-method': 'error' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"local>bfra-me/renovate-config" | ||
] | ||
"extends": ["local>bfra-me/renovate-config"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.yarn/ | ||
dist/ | ||
lib/ | ||
node_modules/ | ||
node_modules/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
arrowParens: avoid | ||
bracketSpacing: false | ||
overrides: | ||
- files: | ||
- '*.json' | ||
options: | ||
singleQuote: false | ||
trailingComma: none | ||
- files: | ||
- '.vscode/*.json' | ||
options: | ||
tabWidth: 4 | ||
printWidth: 120 | ||
semi: false | ||
singleQuote: true | ||
tabWidth: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"outDir": "./lib", /* Redirect output structure to the directory. */ | ||
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ | ||
"strict": true, /* Enable all strict type-checking options. */ | ||
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ | ||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ | ||
"target": "es6", | ||
"module": "commonjs", | ||
"outDir": "./lib", | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"esModuleInterop": true | ||
}, | ||
"exclude": ["node_modules", "**/*.test.ts"] | ||
"exclude": ["node_modules", "**/*.test.ts"], | ||
"include": ["src"] | ||
} |