0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
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