GeoSot
00d45b11e7
Docs: update documentation js examples, using es6 ( #36203 )
...
* Docs: update components documentation using es6
* Docs: update js blocks around docs, using es6
* Docs: update components documentation using es6
* Test linter
2022-04-26 09:38:41 -07:00
Tiger Oakes
fe257823ec
Use Babel and ES6 in docs JS files ( #31607 )
...
* Pass docs js through Babel
* Use ES6 in docs js
* Only run babel on src files
* Allow babel in Hugo
* Update scripts.html
* Inherit from the root .eslintrc.json
* Use `Array.from`
* Drop Babel from docs
* Prefer template
* replace IIFE with arrow functions
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-12 18:07:25 +03:00
XhmikosR
ec62be2724
ESLint: disable no-negated-condition
rule ( #35137 )
2021-10-08 12:47:55 +03:00
XhmikosR
9f1579aa04
Enable unicorn/prefer-prototype-methods
rule
2021-10-05 19:52:11 +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
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]
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
b9f7668cf6
Switch to String.includes()
2020-11-14 15:54:50 +02:00
XhmikosR
37f2c04c5f
Clean up lint rules ( #30721 )
...
* Remove unneeded rule suppression
* Format tests/unit/.eslintrc.json
* build/.eslintrc.json: add strict for consistency
2020-05-04 19:32:09 +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
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
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
fe09d106dc
site/.eslintrc.json: specify ecmaVersion.
2019-07-17 14:52:11 +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
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
cf821e1d4d
fix(docs): remove jQuery from our docs
2019-02-20 22:05:45 +02:00
XhmikosR
29f849879b
Move docs .eslintrc in site/.
2018-10-15 16:03:16 +03:00