Skip to content

Commit 3d43dc6

Browse files
committed
chore: simplify
1 parent 69a802f commit 3d43dc6

File tree

11 files changed

+19
-13
lines changed

11 files changed

+19
-13
lines changed

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"root": true,
33
"extends": "@1stg",
4+
"rules": {
5+
"react/react-in-jsx-scope": "off"
6+
},
47
"overrides": [
58
{
69
"files": "*.mdx",

.markuplintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@1stg/markuplint-config/angular"
3+
}

.markuplintrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
auto-install-peers=true
2+
prefer-workspace-packages=true
23
public-hoist-pattern[]=@1stg/*
34
public-hoist-pattern[]=*babel*
45
public-hoist-pattern[]=@commitlint/*
56
public-hoist-pattern[]=@pkgr/*
7+
public-hoist-pattern[]=@types/*
68
public-hoist-pattern[]=browserslist
79
public-hoist-pattern[]=cross-env
810
public-hoist-pattern[]=*eslint*
@@ -15,5 +17,4 @@ public-hoist-pattern[]=simple-git-hooks
1517
public-hoist-pattern[]=*stylelint*
1618
public-hoist-pattern[]=*svelte*
1719
public-hoist-pattern[]=tslib
18-
prefer-workspace-packages=true
1920
strict-peer-dependencies=false

.remarkrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"plugins": [
3-
"@1stg/remark-config"
3+
"@1stg/config"
44
]
55
}

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CHANGELOG
1+
# Change Log
22

33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint:es": "eslint . --cache -f friendly",
2020
"lint:style": "stylelint . --cache",
2121
"lint:tsc": "tsc --noEmit",
22-
"prepare": "simple-git-hooks || exit 0",
22+
"prepare": "simple-git-hooks",
2323
"release": "changeset publish",
2424
"test": "jest",
2525
"typecov": "type-coverage"
@@ -36,6 +36,7 @@
3636
"@1stg/remark-config": "workspace:*",
3737
"@1stg/simple-git-hooks": "workspace:*",
3838
"@1stg/stylelint-config": "workspace:*",
39+
"@1stg/tsconfig": "workspace:*",
3940
"@angular/compiler": "^14.0.5",
4041
"@angular/compiler-cli": "^14.0.5",
4142
"@angular/core": "^14.0.5",

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test1.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import React, { useState } from 'react'
1+
import { useState, PureComponent } from 'react'
22

3-
export default class Test extends React.PureComponent {
3+
export default class Test extends PureComponent {
44
render() {
55
return <div>Hello</div>
66
}

tests/test3.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import React, { useState } from 'react'
1+
import { PureComponent, useState } from 'react'
22

3-
export default class Test extends React.PureComponent {
3+
export default class Test extends PureComponent {
44
static a = 1
55

66
b?: string

0 commit comments

Comments
 (0)