Skip to content

Commit 11858ba

Browse files
author
Loïc Mangeonjean
committed
lib!: update dependencies, update eslint config and switch to prettier
1 parent 457f32e commit 11858ba

File tree

5 files changed

+10846
-12790
lines changed

5 files changed

+10846
-12790
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 19 deletions
This file was deleted.

.prettierrc.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
singleQuote: true,
3+
jsxSingleQuote: true,
4+
trailingComma: 'none',
5+
semi: false,
6+
printWidth: 100
7+
}

eslint.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import eslint from '@eslint/js'
2+
import tseslint from 'typescript-eslint'
3+
import globals from 'globals'
4+
5+
export default tseslint.config(eslint.configs.recommended, tseslint.configs.recommended, {
6+
rules: { '@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }] },
7+
languageOptions: {
8+
globals: {
9+
...globals.browser
10+
}
11+
}
12+
})

0 commit comments

Comments
 (0)