Skip to content

Commit

Permalink
Merge pull request #348 from sebbo2002/template-updater/update
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 authored Aug 3, 2024
2 parents 8b4de50 + 5bb488f commit 30b5a07
Show file tree
Hide file tree
Showing 7 changed files with 3,320 additions and 2,415 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

61 changes: 0 additions & 61 deletions .eslintrc

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ jobs:
days-before-close: 14
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: do-not-close
exempt-pr-labels: do-not-close
52 changes: 52 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import eslint from '@eslint/js';
import eslintPluginJsonc from 'eslint-plugin-jsonc';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default [
eslint.configs.recommended,
...tseslint.configs.recommended,
...eslintPluginJsonc.configs['flat/recommended-with-jsonc'],
{
files: [
'test/**/*.ts'
],
rules: {
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/ban-ts-comment': 'off'
}
},
{
rules: {
semi: 'error',
quotes: [
'error',
'single'
],
indent: [
'error',
4
],
'jsonc/sort-keys': 'error'
},
languageOptions: {
ecmaVersion: 2022,
sourceType: 'module',
globals: {
...globals.node,
...globals.es6,
...globals.mocha
}
}
},
{
ignores: [
'node_modules/**',
'dist/**',
'docs/**',
'package-lock.json',
'.nyc_output/**',
'config.example.json'
]
}
];
Loading

0 comments on commit 30b5a07

Please sign in to comment.