Skip to content

Commit

Permalink
Update dependency @ota-meshi/eslint-plugin to ^0.11.0 (#112)
Browse files Browse the repository at this point in the history
* Update dependency @ota-meshi/eslint-plugin to ^0.11.0

* format

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
  • Loading branch information
renovate[bot] and ota-meshi authored Jul 1, 2022
1 parent cb23c6a commit 846535d
Show file tree
Hide file tree
Showing 10 changed files with 217 additions and 222 deletions.
138 changes: 69 additions & 69 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
"use strict"
"use strict";

// const version = require("./package.json").version

module.exports = {
parserOptions: {
sourceType: "script",
ecmaVersion: 2020,
parserOptions: {
sourceType: "script",
ecmaVersion: 2020,
},
extends: [
"plugin:@ota-meshi/recommended",
"plugin:@ota-meshi/+node",
"plugin:@ota-meshi/+typescript",
"plugin:@ota-meshi/+prettier",
"plugin:@ota-meshi/+json",
],
rules: {
"require-jsdoc": "error",
"no-warning-comments": "warn",
"no-lonely-if": "off",
"one-var": "off",
},
overrides: [
{
files: ["*.ts"],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "./tsconfig.json",
},
rules: {
"@typescript-eslint/naming-convention": [
"error",
{
selector: "default",
format: ["camelCase"],
leadingUnderscore: "allow",
trailingUnderscore: "allow",
},
{
selector: "variable",
format: ["camelCase", "UPPER_CASE"],
leadingUnderscore: "allow",
trailingUnderscore: "allow",
},
{
selector: "typeLike",
format: ["PascalCase"],
},
{
selector: "property",
format: null,
},
{
selector: "method",
format: null,
},
],
"no-implicit-globals": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-invalid-this": "off",
"@typescript-eslint/no-invalid-this": ["error"],
},
},
extends: [
"plugin:@ota-meshi/recommended",
"plugin:@ota-meshi/+node",
"plugin:@ota-meshi/+typescript",
"plugin:@ota-meshi/+prettier",
"plugin:@ota-meshi/+json",
],
rules: {
"require-jsdoc": "error",
"no-warning-comments": "warn",
"no-lonely-if": "off",
"one-var": "off",
{
files: ["scripts/**/*.ts", "tests/**/*.ts"],
rules: {
"require-jsdoc": "off",
"no-console": "off",
},
},
overrides: [
{
files: ["*.ts"],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "./tsconfig.json",
},
rules: {
"@typescript-eslint/naming-convention": [
"error",
{
selector: "default",
format: ["camelCase"],
leadingUnderscore: "allow",
trailingUnderscore: "allow",
},
{
selector: "variable",
format: ["camelCase", "UPPER_CASE"],
leadingUnderscore: "allow",
trailingUnderscore: "allow",
},
{
selector: "typeLike",
format: ["PascalCase"],
},
{
selector: "property",
format: null,
},
{
selector: "method",
format: null,
},
],
"no-implicit-globals": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-invalid-this": "off",
"@typescript-eslint/no-invalid-this": ["error"],
},
},
{
files: ["scripts/**/*.ts", "tests/**/*.ts"],
rules: {
"require-jsdoc": "off",
"no-console": "off",
},
},
],
}
],
};
28 changes: 14 additions & 14 deletions explorer/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module.exports = {
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
},
extends: [
"plugin:@ota-meshi/+vue3",
"plugin:@ota-meshi/+prettier",
"plugin:@ota-meshi/+json",
],
rules: {
"node/no-unsupported-features/es-syntax": "off",
"node/no-missing-import": "off",
},
}
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
},
extends: [
"plugin:@ota-meshi/+vue3",
"plugin:@ota-meshi/+prettier",
"plugin:@ota-meshi/+json",
],
rules: {
"node/no-unsupported-features/es-syntax": "off",
"node/no-missing-import": "off",
},
};
4 changes: 2 additions & 2 deletions explorer/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
}
presets: ["@vue/cli-plugin-babel/preset"],
};
42 changes: 21 additions & 21 deletions explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "yaml-eslint-parser-ast-explorer",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^3.0.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"@vue/compiler-sfc": "^3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
"name": "yaml-eslint-parser-ast-explorer",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^3.0.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"@vue/compiler-sfc": "^3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
6 changes: 3 additions & 3 deletions explorer/src/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createApp } from "vue"
import App from "./App.vue"
import { createApp } from "vue";
import App from "./App.vue";

createApp(App).mount("#app")
createApp(App).mount("#app");
4 changes: 2 additions & 2 deletions explorer/vue.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
publicPath: "/yaml-eslint-parser/",
}
publicPath: "/yaml-eslint-parser/",
};
142 changes: 71 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
{
"name": "yaml-eslint-parser",
"version": "1.0.1",
"description": "A YAML parser that produces output compatible with ESLint",
"main": "lib/index.js",
"files": [
"lib"
],
"engines": {
"node": "^14.17.0 || >=16.0.0"
},
"scripts": {
"prebuild": "npm run -s clean",
"build": "tsc --project ./tsconfig.build.json",
"clean": "rimraf .nyc_output lib coverage",
"lint": "eslint . --ext .js,.ts,.json",
"eslint-fix": "npm run lint -- --fix",
"test": "mocha --require ts-node/register \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"cover": "nyc --reporter=lcov npm run test",
"debug": "mocha --require ts-node/register/transpile-only \"tests/src/**/*.ts\" --reporter dot",
"preversion": "npm run lint && npm test",
"update-fixtures": "ts-node ./tools/update-fixtures.ts",
"benchmark": "ts-node --transpile-only benchmark/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ota-meshi/yaml-eslint-parser.git"
},
"keywords": [
"yaml",
"eslint",
"parser"
],
"author": "Yosuke Ota",
"funding": "https://github.com/sponsors/ota-meshi",
"license": "MIT",
"bugs": {
"url": "https://github.com/ota-meshi/yaml-eslint-parser/issues"
},
"homepage": "https://github.com/ota-meshi/yaml-eslint-parser#readme",
"dependencies": {
"eslint-visitor-keys": "^3.0.0",
"lodash": "^4.17.21",
"yaml": "^2.0.0"
},
"devDependencies": {
"@ota-meshi/eslint-plugin": "^0.10.0",
"@types/benchmark": "^2.1.1",
"@types/eslint": "^8.0.0",
"@types/eslint-visitor-keys": "^1.0.0",
"@types/lodash": "^4.14.167",
"@types/mocha": "^9.0.0",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"benchmark": "^2.1.4",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-json-schema-validator": "^3.0.0",
"eslint-plugin-jsonc": "^2.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-regexp": "^1.0.0",
"eslint-plugin-vue": "^9.0.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"ts-node": "^10.0.0",
"typescript": "^4.0.0",
"vue-eslint-parser": "^9.0.0"
}
"name": "yaml-eslint-parser",
"version": "1.0.1",
"description": "A YAML parser that produces output compatible with ESLint",
"main": "lib/index.js",
"files": [
"lib"
],
"engines": {
"node": "^14.17.0 || >=16.0.0"
},
"scripts": {
"prebuild": "npm run -s clean",
"build": "tsc --project ./tsconfig.build.json",
"clean": "rimraf .nyc_output lib coverage",
"lint": "eslint . --ext .js,.ts,.json",
"eslint-fix": "npm run lint -- --fix",
"test": "mocha --require ts-node/register \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"cover": "nyc --reporter=lcov npm run test",
"debug": "mocha --require ts-node/register/transpile-only \"tests/src/**/*.ts\" --reporter dot",
"preversion": "npm run lint && npm test",
"update-fixtures": "ts-node ./tools/update-fixtures.ts",
"benchmark": "ts-node --transpile-only benchmark/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ota-meshi/yaml-eslint-parser.git"
},
"keywords": [
"yaml",
"eslint",
"parser"
],
"author": "Yosuke Ota",
"funding": "https://github.com/sponsors/ota-meshi",
"license": "MIT",
"bugs": {
"url": "https://github.com/ota-meshi/yaml-eslint-parser/issues"
},
"homepage": "https://github.com/ota-meshi/yaml-eslint-parser#readme",
"dependencies": {
"eslint-visitor-keys": "^3.0.0",
"lodash": "^4.17.21",
"yaml": "^2.0.0"
},
"devDependencies": {
"@ota-meshi/eslint-plugin": "^0.11.0",
"@types/benchmark": "^2.1.1",
"@types/eslint": "^8.0.0",
"@types/eslint-visitor-keys": "^1.0.0",
"@types/lodash": "^4.14.167",
"@types/mocha": "^9.0.0",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"benchmark": "^2.1.4",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-json-schema-validator": "^3.0.0",
"eslint-plugin-jsonc": "^2.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-regexp": "^1.0.0",
"eslint-plugin-vue": "^9.0.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"ts-node": "^10.0.0",
"typescript": "^4.0.0",
"vue-eslint-parser": "^9.0.0"
}
}
Loading

0 comments on commit 846535d

Please sign in to comment.