Skip to content

Commit

Permalink
setting: Eslint Rule 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yhyem committed Feb 17, 2023
1 parent 7f5182b commit 1f64e95
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 48 deletions.
29 changes: 28 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"env": {
"browser": true,
"es2021": true
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
Expand All @@ -22,6 +23,32 @@
"require-await": "error",
"no-console": "warn",
"no-unused-vars": "warn",
"react/prop-types": "off",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", ["object", "type"]],
"pathGroups": [
{
"pattern": "@/**",
"group": "external",
"position": "after"
},
{
"pattern": "react",
"group": "builtin",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["react"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],

"import/no-extraneous-dependencies": [
"error",
{
Expand Down
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react';

import ReactDOM from 'react-dom/client';

import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
Expand Down
1 change: 0 additions & 1 deletion src/logo.svg

This file was deleted.

0 comments on commit 1f64e95

Please sign in to comment.