forked from tursodatabase/shopify-app-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
36 lines (36 loc) · 803 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module.exports = {
env: {
browser: false,
es2021: true,
},
extends: ['plugin:@shopify/typescript', 'plugin:@shopify/prettier'],
ignorePatterns: ['build/', 'tmp/', 'dist/', 'coverage/'],
rules: {
'no-console': 0,
'@typescript-eslint/naming-convention': 0,
},
overrides: [
{
files: [
'packages/*/loom.config.ts',
'**/setup-jest.ts',
'packages/shopify-app-express/src/__tests__/test-helper.ts',
],
rules: {
'import/no-extraneous-dependencies': 0,
},
},
{
files: ['packages/shopify-app-remix/src/__tests__/index.test.ts'],
rules: {
'@babel/no-unused-expressions': 0,
},
},
{
files: ['**/.eslintrc.js'],
rules: {
'no-undef': 'off',
},
},
],
};