Skip to content

Commit 1e47bbf

Browse files
committed
Add ESLint configuration to fix CI linting errors
1 parent 4af41b9 commit 1e47bbf

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.eslintrc.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
env: {
3+
node: true,
4+
es2021: true,
5+
jest: true
6+
},
7+
extends: [
8+
'eslint:recommended'
9+
],
10+
parserOptions: {
11+
ecmaVersion: 2021,
12+
sourceType: 'module'
13+
},
14+
rules: {
15+
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
16+
'no-console': 'off',
17+
'semi': ['error', 'always'],
18+
'quotes': ['error', 'single', { avoidEscape: true }]
19+
},
20+
ignorePatterns: ['dist/**/*']
21+
};

0 commit comments

Comments
 (0)