aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
AgeCommit message (Collapse)AuthorFilesLines
2024-07-02Build(deps-dev): Bump eslint-plugin-unicorn from 52.0.0 to 54.0.0 (#40565)dependabot[bot]1-0/+2
* Build(deps-dev): Bump eslint-plugin-unicorn from 52.0.0 to 54.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 52.0.0 to 54.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v52.0.0...v54.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update .eslintrc.json --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2024-04-09Build(deps-dev): Bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 (#39883)dependabot[bot]1-0/+1
* Build(deps-dev): Bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 51.0.1 to 52.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v52.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Disable unicorn/no-anonymous-default-export --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2024-03-19docs: bundle assets with HugoXhmikosR1-0/+9
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
2024-03-12Update devDependencies and regenerate package-lock.jsonXhmikosR1-2/+3
* eslint-plugin-markdown ^3.0.1 → ^4.0.1 * hugo-bin ^0.120.7 → ^0.120.8 * rollup ^4.12.0 → ^4.13.0 * terser ^5.27.2 → ^5.29.1
2024-02-06Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 (#39651)dependabot[bot]1-0/+2
* Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.43.1 to 0.44.0. - [Release notes](https://github.com/xojs/eslint-config-xo/releases) - [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.43.1...v0.44.0) --- updated-dependencies: - dependency-name: eslint-config-xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update .eslintrc.json * Update .eslintrc.json * autofix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2023-08-06Convert build scripts to ESM (#38984)XhmikosR1-1/+1
2023-05-16Build(deps-dev): Bump eslint-plugin-unicorn from 46.0.0 to 47.0.0 (#38574)dependabot[bot]1-2/+4
* Build(deps-dev): Bump eslint-plugin-unicorn from 46.0.0 to 47.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 46.0.0 to 47.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.0...v47.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Disable new rules since our currently supported browsers don't support them --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-1/+152
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
2022-12-13Build(deps-dev): Bump eslint-plugin-unicorn from 44.0.2 to 45.0.2 (#37639)dependabot[bot]1-0/+1
* 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] <[email protected]> * Ignore unicorn/no-typeof-undefined for now Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2022-11-12ESLint: enable prefer-template rule (#37484)XhmikosR1-0/+1
2021-10-08ESLint: disable `no-negated-condition` rule (#35137)XhmikosR1-0/+1
2021-10-05Enable `unicorn/numeric-separators-style` rule.XhmikosR1-1/+0
This is taken care of by babel via @babel/plugin-proposal-numeric-separator
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR1-1/+0
2021-10-05Enable `unicorn/no-for-loop` ruleXhmikosR1-1/+0
2021-10-05Enable `unicorn/prefer-prototype-methods` ruleXhmikosR1-1/+0
2021-08-30Move a few ESLint rules where they are needed.XhmikosR1-2/+0
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR1-2/+0
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove
2021-07-21Update devDependencies (#34552)XhmikosR1-0/+13
* @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-05-04Bump eslint-config-xo from 0.35.0 to 0.36.0 (#33646)dependabot[bot]1-1/+1
* 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] <[email protected]> * Adapt config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2021-05-04Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0 (#33769)dependabot[bot]1-0/+1
* 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] <[email protected]> * Disable the `unicorn/prefer-module` rule Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2021-01-28Minor ESLint rules cleanup (#32904)XhmikosR1-2/+0
2021-01-26Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902)dependabot[bot]1-0/+2
* 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] <[email protected]> * Update ESLint ignores Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2021-01-14Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 (#32784)dependabot[bot]1-1/+0
* 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] <[email protected]> * Updates for `[email protected]` Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2020-12-29Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0 (#32644)dependabot[bot]1-4/+4
* 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] <[email protected]> * Fix renamed eslint-plugin-unicorn options Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2020-11-14Use `Array.find` instead of `Array.filter`XhmikosR1-1/+0
2020-11-14Switch to `Set#has()`XhmikosR1-1/+0
2020-11-14Switch to Number propertiesXhmikosR1-1/+0
2020-11-14Switch to `String.includes()`XhmikosR1-1/+0
2020-11-01ESLint: enable new-cap rule but ignore properties (#32036)XhmikosR1-1/+6
2020-08-08Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0 (#31370)dependabot[bot]1-0/+1
* 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] <[email protected]> * Disable `unicorn/prefer-array-find` rule for now Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2020-05-14Update devDependencies (#30807)XhmikosR1-0/+2
* 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-04-28Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 (#30663)dependabot-preview[bot]1-0/+2
* 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] <[email protected]> * 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 <[email protected]>
2020-03-29Use `textContent` instead of `innerText`. (#30462)XhmikosR1-1/+0
It's supported by all of our supported browsers.
2020-03-26Update eslint-plugin-unicorn to v18.0.0 (#30461)XhmikosR1-0/+2
2020-03-09Remove babel-eslint (#30355)XhmikosR1-1/+0
2020-02-17Update devDependencies (#30198)XhmikosR1-0/+1
* eslint-config-xo 0.29.1 * eslint-plugin-unicorn 16.1.1 * rollup 1.31.1 * stylelint 13.2.0
2019-10-27Remove unneeded ESLint suppression and regenerate lock file (#29593)XhmikosR1-1/+0
* Remove unneeded ESLint suppression * Regenerate package-lock.json
2019-10-25Enable eslint no-console rule except for build directory (#29585)Pawel Wolak1-0/+1
2019-10-07Update devDependencies. (#29447)XhmikosR1-0/+1
2019-09-24Update devDependencies.XhmikosR1-0/+2
2019-09-24.eslintrc.json: Remove a couple of default rules.XhmikosR1-8/+0
2019-08-22Remaining JS linting TODO (#29289)Markus Hatvan1-1/+1
* Enable and fix all occurrences with no-mixed-operators rule * Take care of the max-depth warning in button.js Signed-off-by: mhatvan <[email protected]>
2019-06-03Update devDependencies. (#28798)XhmikosR1-0/+1
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-05-08Remove the `unicorn/filename-case` rule suppression.XhmikosR1-1/+0
2019-04-10Update eslint config for the new xo rules.XhmikosR1-1/+5
2019-03-11Disable a few rules for now.XhmikosR1-1/+7
2019-03-11Switch to eslint-config-xo and eslint-plugin-unicorn.XhmikosR1-222/+37
2019-02-26move util in a util folder with the sanitizerJohann-S1-1/+1
2019-02-20Disable ESlint on no-return-assign and temporary for arrow-body-styleJohann-S1-1/+0
2018-07-29Update devDependencies and gems.XhmikosR1-1/+1