aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-06 20:19:45 +0100
committerGitHub <noreply@github.com>2022-03-06 20:19:45 +0100
commitccbca8b9cede972480dd1ef7a73db71a99be9609 (patch)
treee3e3c5b9232d86cf8ba18f898a90f1f2295c2b4e /.eslintrc.js
parent8d4cd02b7cbe955f5a5ce1666fc76a51db4be5d5 (diff)
parent59c0773e95756aa62027db7a5754e7e986ca2b19 (diff)
Merge pull request #94 from caleb-mabry/add-linting
Adding AirBNB Linting style
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js35
1 files changed, 14 insertions, 21 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 3cd51ec..83d8348 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,22 +1,15 @@
module.exports = {
- "env": {
- "browser": true,
- "es6": true,
- "jquery": true
- },
- "extends": "eslint:recommended",
- "globals": {
- "Atomics": "readonly",
- "SharedArrayBuffer": "readonly"
- },
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module"
- },
- "rules": {
- "no-console": "off",
- "no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
- "eqeqeq": ["error", "smart"],
- "semi": ["error", "always"]
- }
-}; \ No newline at end of file
+ env: {
+ browser: true,
+ es2021: true,
+ },
+ extends: [
+ 'airbnb-base',
+ ],
+ parserOptions: {
+ ecmaVersion: 'latest',
+ sourceType: 'module',
+ },
+ rules: {
+ },
+};