Skip to content

Commit

Permalink
lint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
DogeisCut committed Sep 19, 2023
1 parent 6c5910d commit b065de1
Show file tree
Hide file tree
Showing 5 changed files with 1,997 additions and 193 deletions.
27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
indent: ['error', 'tab'],
'linebreak-style': ['error', 'windows'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
},
};
Loading

0 comments on commit b065de1

Please sign in to comment.