Skip to content

Commit

Permalink
Init yarn zero install
Browse files Browse the repository at this point in the history
  • Loading branch information
jungpaeng committed Oct 1, 2023
0 parents commit 0cd2807
Show file tree
Hide file tree
Showing 333 changed files with 21,534 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
settings: {
react: {
version: 'detect',
},
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
],
plugins: ['import', 'unused-imports'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
'@typescript-eslint/consistent-type-imports': ['warn', { fixStyle: 'inline-type-imports' }],

'react/display-name': 'off',
'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off',

'import/no-duplicates': ['error', { 'prefer-inline': true }],
'import/order': [
2,
{
groups: ['builtin', 'external', ['parent', 'sibling'], 'index'],
pathGroups: [
{
pattern: 'react',
group: 'builtin',
},
{
pattern: 'react-dom',
group: 'builtin',
},
],
pathGroupsExcludedImportTypes: ['react', 'react-dom'],
alphabetize: {
order: 'asc',
caseInsensitive: false,
},
'newlines-between': 'always',
},
],
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
'error',
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_',
},
],
},
};
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dist

.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
Loading

0 comments on commit 0cd2807

Please sign in to comment.