Skip to content

Commit 5d3d26c

Browse files
committed
init from l-project
0 parents  commit 5d3d26c

22 files changed

+28861
-0
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PUBLIC_URL = /
2+
L_SYSTEM_NAME = l-project-react

.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PORT = 3000

.env.production

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BUILD_PATH = dist

.eslintrc.cjs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = {
2+
root: true,
3+
plugins: ['prettier'],
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:prettier/recommended'
8+
],
9+
parserOptions: {
10+
ecmaVersion: 'latest'
11+
},
12+
rules: {
13+
'prettier/prettier': 'warn'
14+
},
15+
overrides: [
16+
{
17+
files: ['*.cjs'],
18+
env: {
19+
node: true
20+
},
21+
rules: {
22+
'@typescript-eslint/no-var-requires': 'off'
23+
}
24+
},
25+
{
26+
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'],
27+
env: {
28+
jest: true
29+
}
30+
}
31+
]
32+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
3+
dist

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit ${1}

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": false,
3+
"tabWidth": 2,
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"trailingComma": "none"
7+
}

.stylelintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"plugins": ["stylelint-prettier"],
3+
"extends": ["stylelint-config-standard"],
4+
"overrides": [
5+
{
6+
"files": ["*.less", "**/*.less"],
7+
"customSyntax": "postcss-less"
8+
}
9+
],
10+
"rules": {
11+
"prettier/prettier": true,
12+
"no-empty-source": null,
13+
"no-descending-specificity": null
14+
}
15+
}

0 commit comments

Comments
 (0)