Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #333 from RaenonX-DL/dev
Browse files Browse the repository at this point in the history
v2.16.0 Release
  • Loading branch information
RaenonX authored Dec 20, 2021
2 parents dcdb4b9 + 7530da7 commit 2e5dba7
Show file tree
Hide file tree
Showing 310 changed files with 7,262 additions and 5,929 deletions.
12 changes: 12 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Dependencies

node_modules/**
src/api-def/**

# Build artifacts

dist/**

# Type definitions

**/*.d.ts
48 changes: 32 additions & 16 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
env:
browser: true
es6: true
Expand All @@ -13,17 +12,6 @@ extends:
- plugin:eslint-plugin-import/typescript
- plugin:@next/next/recommended

plugins:
- "@typescript-eslint"
- jest-dom
- react
- react-hooks
- testing-library
- unused-imports

ignorePatterns:
- '*.d.ts'

globals:
Atomics: readonly
SharedArrayBuffer: readonly
Expand All @@ -36,6 +24,16 @@ parserOptions:
ecmaVersion: 2021
sourceType: module

plugins:
- "@typescript-eslint"
- jest-dom
- react
- react-hooks
- testing-library

ignorePatterns:
- '*.d.ts'

rules:
"@typescript-eslint/no-unused-vars":
- error
Expand All @@ -51,7 +49,7 @@ rules:
- error
- 2
- ignoredNodes:
- TSTypeParameterInstantiation
- TSTypeParameterInstantiation
MemberExpression: 1

# Needs to disable local indent for this rule to work properly
Expand Down Expand Up @@ -83,6 +81,27 @@ rules:
order: asc
caseInsensitive: true

import/newline-after-import:
- error
- count: 2

import/no-unresolved:
- error
- ignore:
- csstype

object-curly-spacing: off

"@typescript-eslint/object-curly-spacing":
- error
- never

semi:
- off

"@typescript-eslint/semi":
- error

space-in-parens:
- error
- never
Expand All @@ -95,9 +114,6 @@ rules:
- error
- beforeSelfClosing: never

unused-imports/no-unused-imports:
- error

"@next/next/no-img-element":
- off

Expand Down
Loading

0 comments on commit 2e5dba7

Please sign in to comment.