Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit 38bb81e

Browse files
committed
feat(all): update package
1 parent f9b9f38 commit 38bb81e

File tree

33 files changed

+9117
-12234
lines changed

33 files changed

+9117
-12234
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
example
22
test
3-
typings

.eslintrc.js

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
plugins: ['@typescript-eslint'],
24
extends: [
3-
"eslint:recommended",
4-
"plugin:@typescript-eslint/recommended",
5-
"prettier/@typescript-eslint"
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'prettier',
68
],
7-
plugins: ["@typescript-eslint"],
8-
parser: "@typescript-eslint/parser",
9-
parserOptions: {
10-
sourceType: "module",
11-
// cwdからのpath
12-
project: "./tsconfig.json",
13-
},
149
rules: {
15-
"@typescript-eslint/ban-ts-ignore": "warn",
10+
'@typescript-eslint/ban-ts-comment': 'off',
11+
'@typescript-eslint/ban-types': 'off',
1612
},
1713
env: {
1814
node: true,

.githooks/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
npx --no-install lint-staged
3+
npm run lint

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: automatic release
22
on:
33
push:
44
tags:
5-
- "*"
5+
- '*'
66
jobs:
77
release:
88
runs-on: ubuntu-latest
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/setup-node@v1
1414
with:
1515
node-version: 16.x
16-
registry-url: "https://registry.npmjs.org"
16+
registry-url: 'https://registry.npmjs.org'
1717
- name: install dependencies
1818
run: npm install
1919
- name: test

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
dist
22
node_modules
3-
yarn-error.log

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
example
22
test
3-
typings

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# babel-plugin-object-to-json-parse 🚀
22

3-
[![CircleCI](https://circleci.com/gh/nd-02110114/babel-plugin-object-to-json-parse/tree/master.svg?style=svg)](https://circleci.com/gh/nd-02110114/3dmol-sandbox/tree/master)
3+
![release](https://github.com/nissy-dev/babel-plugin-remove-react-fc-and-vfc/actions/workflows/release.yml/badge.svg)
44
[![License: MIT](https://img.shields.io/github/license/nd-02110114/babel-plugin-object-to-json-parse.svg)](https://opensource.org/licenses/MIT)
55
[![npm version](https://badge.fury.io/js/babel-plugin-object-to-json-parse.svg)](https://badge.fury.io/js/babel-plugin-object-to-json-parse)
66

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
}

0 commit comments

Comments
 (0)