Skip to content

Commit

Permalink
chore: add linter (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
onildoaguiar authored Aug 14, 2024
1 parent 0145ba7 commit 16749cf
Show file tree
Hide file tree
Showing 7 changed files with 1,095 additions and 318 deletions.
20 changes: 20 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const globals = require('globals');

module.exports = [
{
files: ['**/*.js'],
languageOptions: {
globals: globals.node,
sourceType: 'module',
parserOptions: {
ecmaVersion: 12,
},
},
rules: {
'no-console': 'off',
'indent': ['error', 2],
'linebreak-style': ['error', 'unix'],
'quotes': ['error', 'single'],
},
},
];
Loading

0 comments on commit 16749cf

Please sign in to comment.