Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nf-team/eslint-config

mbti-nf-team22MIT3.4.0

nf-team eslint config

nf-team, eslint-config-airbnb, eslint-config-airbnb-typescript, eslint-import, eslint-plugin-react, eslint-plugin-simple-import-sort, eslint-plugin-unused-imports

readme

@nf-team/eslint-config

🚀 Quick Overview

Install @nf-team/eslint-config dependency

npm install --save-dev @nf-team/eslint-config

Add @nf-team/eslint-config to extends in your .eslintrc

module.exports = {
  // ...
  extends: ['@nf-team/eslint-config'],
  rules: {
    // ...
  },
};

🤔 What eslint extensions does @nf-team/eslint-config have?

View more extensions..

👉 Sort default imports

This is the default value for the groups option:

[
  // Side effect imports.
  ['^\\u0000'],
  // Node.js builtins. You could also generate this regex if you use a `.js` config.
  // For example: `^(${require("module").builtinModules.join("|")})(/|$)`
  // OR Node.js builtins prefixed with `node:`.
  ['^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)', '^node:'],
  // Packages. `react` related packages
  ['^react'],
  // Packages. Things that start with a letter (or digit or underscore), or `@` followed by a letter.
  ['^@?\\w'],
  // Parent imports. Put `..` last.
  ['^\\.\\.(?!/?$)', '^\\.\\./?$'],
  // Other relative imports. Put same-folder imports and `.` last.
  ['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
  // Svg file imports.
  ['^.+\\.svg$'],
  // Style imports.
  ['^.+\\.s?css$'],
]

🐛 Bug reporting

Issues

🔒 LICENSE

This libraries is MIT licensed.

changelog

@nft-team/eslint-config

3.4.0

Minor Changes

  • af6c8c9: chore(@nf-team/eslint-config): css import는 가장 상단으로 import 되도록 정렬 룰 변경

3.3.0

Minor Changes

  • 7df2607: chore(deps): update eslint-plugin-unused-imports v4

3.2.0

Minor Changes

  • 1291b17: chore(deps): turbo repo & tsup dependencies major update

3.1.0

Minor Changes

  • da11f83: chore(@nf-team/eslint-config): update eslint plugin version

3.0.1

Patch Changes

  • 75c14d0: chore(@nf-team/eslint-config): version update eslint

3.0.0

Major Changes

  • d45a18c: feat(@nf-team/eslint-config): upgrade eslint typescript v7 dependencies

2.1.0

Minor Changes

  • 4622145: chore(deps): typescript v5를 지원하도록 eslint버전 업데이트

2.0.2

Patch Changes

  • 1eab828: chore(@nf-team/eslint-config): peer dependencies에 eslint 버전 추가

2.0.1

Patch Changes

  • fb9228e: docs: readme.md license 링크 수정

2.0.0

Major Changes

  • feat: @nft-team에서 @nf-team으로 패키지명 변경

1.1.3

Patch Changes

  • cd9551a: docs: package.json homepage, readme.md 업데이트 및 license 추가

1.1.2

Patch Changes

  • 49402bb: docs: typedoc 세팅, ts docs 작성 및 문서 업데이트

1.1.1

Patch Changes

  • feat(@nft-team/eslint-config): eslint config import 정렬 업데이트 및 문서 추가

1.1.0

Minor Changes

  • e67f4d7: feat: 불필요한 eslint-config-next, eslint-config-turbo 설치 의존성 제거

1.0.1

Patch Changes

  • docs: @nft-team/eslint-config 문서 README.md 생성

1.0.0

Major Changes

  • @nft-team/eslint-config 초기 publish