Skip to content

Commit 713e5f4

Browse files
committed
chore: commit an ESLint configuration to the repository
1 parent d325d39 commit 713e5f4

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

eslint.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const js = require('@eslint/js');
2+
const eslintConfigPrettier = require('eslint-config-prettier');
3+
4+
module.exports = [
5+
{
6+
ignores: ['src/parser.js'],
7+
},
8+
js.configs.recommended,
9+
eslintConfigPrettier,
10+
{
11+
languageOptions: {
12+
sourceType: 'commonjs',
13+
},
14+
rules: {
15+
curly: 'error',
16+
},
17+
},
18+
];

0 commit comments

Comments
 (0)