Skip to content

Commit

Permalink
Add ESLint Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillweston committed Apr 21, 2024
1 parent baed6a2 commit 28f3885
Show file tree
Hide file tree
Showing 6 changed files with 3,115 additions and 229 deletions.
41 changes: 41 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true
},
extends: 'standard',
overrides: [
{
env: {
node: true
},
files: [
'.eslintrc.{js,cjs}'
],
parserOptions: {
sourceType: 'script'
}
}
],
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
indent: "off",
"arrow-parens": "off",
quotes: "off",
"linebreak-style": "off",
"max-len": "off",
"no-console": "off",
"spaced-comment": "off",
"no-trailing-spaces": "off",
"no-else-return": "off",
"no-multi-spaces": "off",
"no-unused-vars": "off",
"global-require": "off",
"consistent-return": "off",
camelcase: "off",
semi: ["error", "always"]
}
};
Loading

0 comments on commit 28f3885

Please sign in to comment.