Skip to content

Commit 0525a8c

Browse files
committed
Upgraded eslint
1 parent 38a07a5 commit 0525a8c

File tree

3 files changed

+48
-54
lines changed

3 files changed

+48
-54
lines changed

packages/svelte-reveal/.eslintignore

-43
This file was deleted.

packages/svelte-reveal/.eslintrc

-11
This file was deleted.
+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import tseslint from '@typescript-eslint/eslint-plugin';
2+
import tsParser from '@typescript-eslint/parser';
3+
import eslint from '@eslint/js';
4+
import turbo from 'eslint-config-turbo';
5+
import prettier from 'eslint-config-prettier';
6+
7+
export default [
8+
{
9+
ignores: [
10+
'**/node_modules',
11+
'**/.pnp',
12+
'**/.pnp.js',
13+
'**/dist/',
14+
'**/coverage/',
15+
'**/.next/',
16+
'**/out/',
17+
'**/build',
18+
'**/.DS_Store',
19+
'**/*.pem',
20+
'**/svelte-reveal-*.tgz',
21+
'**/debug.json',
22+
'**/npm-debug.log*',
23+
'**/yarn-debug.log*',
24+
'**/yarn-error.log*',
25+
'**/.pnpm-debug.log*',
26+
'**/.env.local',
27+
'**/.env.development.local',
28+
'**/.env.test.local',
29+
'**/.env.production.local',
30+
'**/.turbo',
31+
'**/.vercel',
32+
'**/*.tsbuildinfo',
33+
'**/next-env.d.ts'
34+
]
35+
},
36+
eslint.configs.recommended,
37+
...tseslint.configs.recommended,
38+
turbo,
39+
prettier,
40+
{
41+
plugins: { '@typescript-eslint': typescriptEslint },
42+
languageOptions: {
43+
parser: tsParser,
44+
ecmaVersion: 'latest',
45+
sourceType: 'module'
46+
}
47+
}
48+
];

0 commit comments

Comments
 (0)