aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
authorPauline <git@ethanlibs.co>2023-11-26 17:13:07 -0500
committerPauline <git@ethanlibs.co>2023-11-26 17:13:07 -0500
commite9d485fe3b5db8c426ac03b30ed8917df0baa62d (patch)
tree69a684d53abce6b636620cc0000a6e84846246d7 /eslint.config.js
parent85c31ee8d278ac6fa1f0ba143b78d65e5f665f32 (diff)
downloadNexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.tar.gz
Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.tar.bz2
Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.zip
feat(lint): switch to eslint config and formatting (use vscode for autoformat)
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 0000000..04d3146
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,25 @@
+import petal from '@flowr/eslint-config';
+
+export default petal({
+ // broken for some reason
+ astro: false,
+ // broken for some reason
+ react: false,
+ typescript: true,
+ gitignore: true,
+ ignores: [
+ '**/target',
+ '**/dist',
+ '**/types',
+ '**/cache',
+ '**/dist',
+ '**/.temp',
+ '**/*.svg',
+ '*.rs',
+ 'pnpm-lock.yaml',
+ 'packages/client/src/core.ts',
+ 'apps/desktop/src/commands.ts',
+ '**/.next/**',
+ '**/*.astro',
+ ],
+});