feat: migrate to esm

This commit is contained in:
2023-05-31 14:04:03 +02:00
parent fd740b3091
commit 4df19e8c20
512 changed files with 3013 additions and 2219 deletions
+5 -1
View File
@@ -1,12 +1,16 @@
module.exports = {
root: true,
ignorePatterns: ['projects/**/*'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2021,
},
overrides: [
{
files: ['*.ts'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
ecmaVersion: 2021,
sourceType: 'module',
project: ['tsconfig.json'],
createDefaultProgram: true,
+2 -1
View File
@@ -2,6 +2,7 @@
"name": "@openstapps/eslint-config",
"description": "A collection of configuration base files for StApps projects.",
"version": "2.1.0",
"type": "commonjs",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/eslint-config.git",
"author": "Thea Schöbl",
@@ -27,7 +28,7 @@
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "45.0.2",
"prettier": "2.8.3",
"typescript": "4.4.4"
"typescript": "4.8.4"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "5.49.0",