Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ota-meshi/eslint-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.13.7
Choose a base ref
...
head repository: ota-meshi/eslint-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.14.0
Choose a head ref
  • 5 commits
  • 4 files changed
  • 2 contributors

Commits on May 9, 2023

  1. chore(deps): update dependency eslint-plugin-node-dependencies to ^0.…

    …11.0 (#75)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 9, 2023

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    e03d26d View commit details
  2. chore(deps): update dependency eslint-plugin-toml to ^0.5.0 (#76)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    11e7407 View commit details

Commits on Jun 22, 2023

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    1b9e2b4 View commit details

Commits on Jul 15, 2023

  1. Upadte config & use eslint-plugin-n (#80)

    * chore(deps): update typescript-eslint monorepo to v6
    
    * Upadte config & use eslint-plugin-n
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
    renovate[bot] and ota-meshi authored Jul 15, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b56d97f View commit details
  2. 0.14.0

    ota-meshi committed Jul 15, 2023

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    85a626f View commit details
Showing with 17 additions and 17 deletions.
  1. +2 −2 .eslintrc.js
  2. +7 −7 lib/configs/+node.js
  3. +1 −1 lib/configs/ts/base-config.js
  4. +7 −7 package.json
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ module.exports = {
require.resolve("./lib/configs/+package-json"),
],
rules: {
"node/no-extraneous-require": "off",
"node/no-unpublished-require": "off",
"n/no-extraneous-require": "off",
"n/no-unpublished-require": "off",
"node-dependencies/no-deprecated": "error",
},
};
14 changes: 7 additions & 7 deletions lib/configs/+node.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
"use strict";

module.exports = require("../utils/module").requireOf(
["eslint-plugin-node"],
["eslint-plugin-n"],
() => ({
overrides: [
{
files: ["*.js", "*.mjs", "*.cjs"],
extends: ["plugin:node/recommended"],
extends: ["plugin:n/recommended"],
parserOptions: {
ecmaFeatures: { globalReturn: true },
ecmaVersion: 2020,
sourceType: "script",
},
rules: {
"node/exports-style": ["error", "module.exports"],
"node/file-extension-in-import": [
"n/exports-style": ["error", "module.exports"],
"n/file-extension-in-import": [
"error",
"always",
{ ".js": "never", ".ts": "never", ".tsx": "never" },
],
"node/prefer-global/buffer": "error",
"node/prefer-global/console": "error",
"node/prefer-global/process": "error",
"n/prefer-global/buffer": "error",
"n/prefer-global/console": "error",
"n/prefer-global/process": "error",
},
globals: {
URL: "readonly",
2 changes: 1 addition & 1 deletion lib/configs/ts/base-config.js
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ module.exports = {
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/no-parameter-properties": "error",
"@typescript-eslint/parameter-properties": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-this-alias": ["error", { allowDestructuring: true }],
"@typescript-eslint/no-unnecessary-qualifier": "error",
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ota-meshi/eslint-plugin",
"version": "0.13.7",
"version": "0.14.0",
"description": "ESLint configuration plugin for me.",
"repository": "git+https://github.com/ota-meshi/eslint-plugin.git",
"homepage": "https://github.com/ota-meshi/eslint-plugin#readme",
@@ -31,28 +31,28 @@
"semver": "^7.3.4"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.0.0-0",
"@typescript-eslint/parser": "^5.0.0-0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-eslint-plugin": "^5.0.0",
"eslint-plugin-json-schema-validator": "^4.0.0",
"eslint-plugin-jsonc": "^2.0.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-node-dependencies": "^0.10.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-node-dependencies": "^0.11.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-regexp": "^1.0.0",
"eslint-plugin-svelte": "^2.9.0",
"eslint-plugin-toml": "^0.4.0",
"eslint-plugin-toml": "^0.5.0",
"eslint-plugin-vue": "^9.0.0",
"eslint-plugin-yml": "^1.0.0",
"mocha": "^10.0.0",
"prettier": "^2.0.5",
"prettier-plugin-pkg": "^0.17.0",
"prettier-plugin-svelte": "^2.7.1",
"svelte": "^3.50.1",
"svelte": "^4.0.0",
"typescript": "^5.0.0"
},
"publishConfig": {