dependabot[bot]
b1f86f45ad
Build(deps-dev): Bump eslint-plugin-unicorn from 44.0.2 to 45.0.2 ( #37639 )
...
* Build(deps-dev): Bump eslint-plugin-unicorn from 44.0.2 to 45.0.2
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 44.0.2 to 45.0.2.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.2...v45.0.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Ignore unicorn/no-typeof-undefined for now
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-12-13 18:01:31 +02:00
XhmikosR
5208dd10c4
ESLint: enable prefer-template rule ( #37484 )
2022-11-12 10:09:36 +02:00
XhmikosR
ec62be2724
ESLint: disable no-negated-condition
rule ( #35137 )
2021-10-08 12:47:55 +03:00
XhmikosR
3afe4b8c7d
Enable unicorn/numeric-separators-style
rule.
...
This is taken care of by babel via @babel/plugin-proposal-numeric-separator
2021-10-05 19:52:11 +03:00
XhmikosR
666fe596bf
Enable unicorn/no-array-for-each
rule
2021-10-05 19:52:11 +03:00
XhmikosR
2b4d0d166b
Enable unicorn/no-for-loop
rule
2021-10-05 19:52:11 +03:00
XhmikosR
9f1579aa04
Enable unicorn/prefer-prototype-methods
rule
2021-10-05 19:52:11 +03:00
XhmikosR
c02805bb8c
Move a few ESLint rules where they are needed.
2021-08-30 15:51:44 +03:00
XhmikosR
6d707f4801
Enable a few eslint-config-xo rules ( #34620 )
...
* unicorn/prefer-dom-node-append
* unicorn/prefer-dom-node-remove
2021-07-30 00:23:00 +02:00
XhmikosR
75b2934596
Update devDependencies ( #34552 )
...
* @babel/cli ^7.14.5 → ^7.14.8
* @babel/core ^7.14.6 → ^7.14.8
* @babel/preset-env ^7.14.7 → ^7.14.8
* eslint-config-xo ^0.36.0 → ^0.37.0
* eslint-plugin-unicorn ^31.0.0 → ^34.0.1
* hugo-bin ^0.73.0 → ^0.74.0
2021-07-21 15:57:47 +03:00
dependabot[bot]
6633845901
Bump eslint-config-xo from 0.35.0 to 0.36.0 ( #33646 )
...
* Bump eslint-config-xo from 0.35.0 to 0.36.0
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases )
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.35.0...v0.36.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Adapt config
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-04 15:57:55 +03:00
dependabot[bot]
0519a3bb57
Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0 ( #33769 )
...
* Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 30.0.0 to 31.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v30.0.0...v31.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Disable the `unicorn/prefer-module` rule
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-04 15:27:03 +03:00
XhmikosR
a56bf1de9f
Minor ESLint rules cleanup ( #32904 )
2021-01-28 11:34:20 +02:00
dependabot[bot]
1a2688ede3
Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 ( #32902 )
...
* Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 26.0.1 to 27.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v26.0.1...v27.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Update ESLint ignores
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-26 15:53:26 +02:00
dependabot[bot]
1b46601ce8
Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 ( #32784 )
...
* Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 25.0.1 to 26.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v25.0.1...v26.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* Updates for `eslint-plugin-unicorn@26.0.1`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:29:26 +02:00
dependabot[bot]
122b2bdd48
Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0 ( #32644 )
...
* Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 24.0.0 to 25.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v24.0.0...v25.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Fix renamed eslint-plugin-unicorn options
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-29 12:52:32 +02:00
XhmikosR
eaf616c653
Use Array.find
instead of Array.filter
2020-11-14 15:54:50 +02:00
XhmikosR
6d7bc54d22
Switch to Set#has()
2020-11-14 15:54:50 +02:00
XhmikosR
2e758f64cf
Switch to Number properties
2020-11-14 15:54:50 +02:00
XhmikosR
b9f7668cf6
Switch to String.includes()
2020-11-14 15:54:50 +02:00
XhmikosR
e0b8fcdf89
ESLint: enable new-cap rule but ignore properties ( #32036 )
2020-11-01 16:31:11 +02:00
dependabot[bot]
a3f27c67e8
Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0 ( #31370 )
...
* Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 20.1.0 to 21.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v20.1.0...v21.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Disable `unicorn/prefer-array-find` rule for now
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-08 09:02:20 +03:00
XhmikosR
ddf39a5092
Update devDependencies ( #30807 )
...
* eslint ^6.8.0 → ^7.0.0
* eslint-plugin-unicorn ^19.0.1 → ^20.0.0
* karma-jasmine-html-reporter ^1.5.3 → ^1.5.4
* lockfile-lint ^4.2.2 → ^4.3.4
* rollup ^2.9.1 → ^2.10.0
2020-05-14 09:26:44 +03:00
dependabot-preview[bot]
3300c6267a
Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 ( #30663 )
...
* Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 18.0.1 to 19.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v18.0.1...v19.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* ESlint: disable a few new rules for now.
* unicorn/no-fn-reference-in-iterator
* unicorn/no-null
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 16:28:46 +03:00
XhmikosR
ed94976ea8
Use textContent
instead of innerText
. ( #30462 )
...
It's supported by all of our supported browsers.
2020-03-29 09:53:57 +03:00
XhmikosR
860b511e03
Update eslint-plugin-unicorn to v18.0.0 ( #30461 )
2020-03-26 17:49:45 +02:00
XhmikosR
14c4a601fe
Remove babel-eslint ( #30355 )
2020-03-09 16:37:54 +02:00
XhmikosR
d191d57445
Update devDependencies ( #30198 )
...
* eslint-config-xo 0.29.1
* eslint-plugin-unicorn 16.1.1
* rollup 1.31.1
* stylelint 13.2.0
2020-02-17 21:24:34 +02:00
XhmikosR
23c3cdbd43
Remove unneeded ESLint suppression and regenerate lock file ( #29593 )
...
* Remove unneeded ESLint suppression
* Regenerate package-lock.json
2019-10-27 16:39:54 +02:00
Pawel Wolak
b3dfcdc7ed
Enable eslint no-console rule except for build directory ( #29585 )
2019-10-25 12:25:30 +03:00
XhmikosR
622c914a3a
Update devDependencies. ( #29447 )
2019-10-07 09:31:12 +03:00
XhmikosR
04796b8f3a
Update devDependencies.
2019-09-24 13:09:25 +03:00
XhmikosR
84861ceadb
.eslintrc.json: Remove a couple of default rules.
2019-09-24 13:09:25 +03:00
Markus Hatvan
4d101491da
Remaining JS linting TODO ( #29289 )
...
* Enable and fix all occurrences with no-mixed-operators rule
* Take care of the max-depth warning in button.js
Signed-off-by: mhatvan <markus_hatvan@aon.at>
2019-08-22 22:17:34 +03:00
XhmikosR
8f97e2dc52
Update devDependencies. ( #28798 )
...
Notably:
* bundlesize 0.15.3 → ^0.17.2
* eslint-plugin-unicorn ^8.0.2 → ^9.0.0
* terser ^3.17.0 → ^4.0.0
2019-06-03 14:26:52 +03:00
XhmikosR
e7657c8bc0
Remove the unicorn/filename-case
rule suppression.
2019-05-08 17:26:37 +03:00
XhmikosR
105687ac4a
Update eslint config for the new xo rules.
2019-04-10 15:18:57 +03:00
XhmikosR
5bcd6a29cd
Disable a few rules for now.
2019-03-11 17:01:28 +02:00
XhmikosR
44e6abcba5
Switch to eslint-config-xo and eslint-plugin-unicorn.
2019-03-11 17:01:28 +02:00
Johann-S
8a37045b79
move util in a util folder with the sanitizer
2019-02-26 13:04:04 +02:00
Johann-S
4aef395e49
Disable ESlint on no-return-assign and temporary for arrow-body-style
2019-02-20 22:05:45 +02:00
XhmikosR
c73b4a705e
Update devDependencies and gems.
2018-07-29 14:07:38 -07:00
XhmikosR
a31b23b5ce
Move eslint-plugin-compat
to the extends array.
2018-06-24 01:45:29 +03:00
XhmikosR
6d336502c7
Clean up and tweak ESLint rules.
...
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00