diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-04-06 22:52:05 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2024-04-06 23:07:45 +0200 |
| commit | 24beaf1f0b16caf5dcf41d7b8ad71664ef3185ec (patch) | |
| tree | ac0593b05cd40beee531e99594c04435801338bb /.eslintrc.yml | |
| parent | d1b13d12812f7f1c9b2ed3e1982a0f72822fab14 (diff) | |
| download | gohugo-theme-ed-24beaf1f0b16caf5dcf41d7b8ad71664ef3185ec.tar.gz | |
Bump eslint from 8.57.0 to 9.0.0
Diffstat (limited to '.eslintrc.yml')
| -rw-r--r-- | .eslintrc.yml | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index 9e22a46..0000000 --- a/.eslintrc.yml +++ /dev/null @@ -1,106 +0,0 @@ ---- -root: true - -extends: - - eslint:recommended - -env: - # ECMAScript 2022 globals - es2022: true - - # Browser global variables - browser: true - - # jQuery global variables - jquery: true - -rules: - # =============== - # Possible Errors - # =============== - # - # The following rules point out areas where you might have made - # mistakes. - - # disallow or enforce trailing commas - comma-dangle: [error, never] - - # disallow use of console. - no-console: warn - - # ============== - # Best Practices - # ============== - # - # These are rules designed to prevent you from making mistakes. - # They either prescribe a better way of doing something or help - # you avoid footguns. - - # require the use of === and !== - eqeqeq: [error, always] - - # disallow the use of alert, confirm, and prompt - no-alert: error - - # disallow use of eval() - no-eval: error - - # disallow use of multiple spaces - no-multi-spaces: error - - # =========== - # Strict Mode - # =========== - # - # These rules relate to using strict mode. - - # controls location of Use Strict Directives - strict: [error, global] - - # ================ - # Stylistic Issues - # ================ - # - # These rules are purely matters of style and are quite subjective. - - # this option sets a 2-space indentation for your code - indent: [warn, 2] - - # enforce one true brace style (1tbs) - brace-style: warn - - # require camel case names - camelcase: warn - - # enforce spacing before and after comma - comma-spacing: [warn, {before: false, after: true}] - - # enforce one true comma style - comma-style: [warn, last] - - # enforce newline at the end of file, with no multiple empty lines - eol-last: [warn, always] - - # specify whether double or single quotes should be used - quotes: [warn, single] - - # require or disallow use of semicolons instead of ASI - semi: [warn, always] - - # enforce spacing before and after semicolons - semi-spacing: [warn, {before: false, after: true}] - - # sort variables within the same declaration block - sort-vars: warn - - # ============ - # ECMAScript 6 - # ============ - # - # These rules are only relevant to ES6 environments. - - # require let or const instead of var - no-var: error - -# Report unused eslint-disable comments -reportUnusedDisableDirectives: true |
