eslint-plugin-react
ESLint를 위한 React 전용 린팅 규칙
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.yml
- eslint-8-.yml
- eslint-9+.yml
- node-minors.yml
- node-pretest.yml
- npm-publish.yml
- rebase.yml
- release.yml
- require-allow-edits.yml
- smoke-test.yml
- type-check.yml
- FUNDING.yml
- all.js
- jsx-runtime.js
- recommended.js
- async-server-action.md
- boolean-prop-naming.md
- button-has-type.md
- checked-requires-onchange-or-readonly.md
- default-props-match-prop-types.md
- destructuring-assignment.md
- display-name.md
- forbid-component-props.md
- forbid-dom-props.md
- forbid-elements.md
- forbid-foreign-prop-types.md
- forbid-prop-types.md
- forward-ref-uses-ref.md
- function-component-definition.md
- hook-use-state.md
- iframe-missing-sandbox.md
- jsx-boolean-value.md
- jsx-child-element-spacing.md
- jsx-closing-bracket-location.md
- jsx-closing-tag-location.md
- jsx-curly-brace-presence.md
- jsx-curly-newline.md
- jsx-curly-spacing.md
- jsx-equals-spacing.md
- jsx-filename-extension.md
- jsx-first-prop-new-line.md
- jsx-fragments.md
- jsx-handler-names.md
- jsx-indent-props.md
- jsx-indent.md
- jsx-key.md
- jsx-max-depth.md
- jsx-max-props-per-line.md
- jsx-newline.md
- jsx-no-bind.md
- jsx-no-comment-textnodes.md
- jsx-no-constructed-context-values.md
- jsx-no-duplicate-props.md
- jsx-no-leaked-render.md
- jsx-no-literals.md
- jsx-no-script-url.md
- jsx-no-target-blank.md
- jsx-no-undef.md
- jsx-no-useless-fragment.md
- jsx-one-expression-per-line.md
- jsx-pascal-case.md
- jsx-props-no-multi-spaces.md
- jsx-props-no-spread-multi.md
- jsx-props-no-spreading.md
- jsx-sort-default-props.md
- jsx-sort-props.md
- jsx-space-before-closing.md
- jsx-tag-spacing.md
- jsx-uses-react.md
- jsx-uses-vars.md
- jsx-wrap-multilines.md
- no-access-state-in-setstate.md
- no-adjacent-inline-elements.md
- no-array-index-key.md
- no-arrow-function-lifecycle.md
- no-children-prop.md
- no-danger-with-children.md
- no-danger.md
- no-deprecated.md
- no-did-mount-set-state.md
- no-did-update-set-state.md
- no-direct-mutation-state.md
- no-find-dom-node.md
- no-invalid-html-attribute.md
- no-is-mounted.md
- no-multi-comp.md
- no-namespace.md
- no-object-type-as-default-prop.md
- no-redundant-should-component-update.md
- no-render-return-value.md
- no-set-state.md
- no-string-refs.md
- no-this-in-sfc.md
- no-typos.md
- no-unescaped-entities.md
- no-unknown-property.md
- no-unsafe.md
- no-unstable-nested-components.md
- no-unused-class-component-methods.md
- no-unused-prop-types.md
- no-unused-state.md
- no-will-update-set-state.md
- prefer-es6-class.md
- prefer-exact-props.md
- prefer-read-only-props.md
- prefer-stateless-function.md
- prop-types.md
- react-in-jsx-scope.md
- require-default-props.md
- require-optimization.md
- require-render-return.md
- self-closing-comp.md
- sort-comp.md
- sort-default-props.md
- sort-prop-types.md
- state-in-constructor.md
- static-property-placement.md
- style-prop-object.md
- void-dom-elements-no-children.md
- async-server-action.js
- boolean-prop-naming.js
- button-has-type.js
- checked-requires-onchange-or-readonly.js
- default-props-match-prop-types.js
- destructuring-assignment.js
- display-name.js
- forbid-component-props.js
- forbid-dom-props.js
- forbid-elements.js
- forbid-foreign-prop-types.js
- forbid-prop-types.js
- forward-ref-uses-ref.js
- function-component-definition.js
- hook-use-state.js
- iframe-missing-sandbox.js
- index.js
- jsx-boolean-value.js
- jsx-child-element-spacing.js
- jsx-closing-bracket-location.js
- jsx-closing-tag-location.js
- jsx-curly-brace-presence.js
- jsx-curly-newline.js
- jsx-curly-spacing.js
- jsx-equals-spacing.js
- jsx-filename-extension.js
- jsx-first-prop-new-line.js
- jsx-fragments.js
- jsx-handler-names.js
- jsx-indent-props.js
- jsx-indent.js
- jsx-key.js
- jsx-max-depth.js
- jsx-max-props-per-line.js
- jsx-newline.js
- jsx-no-bind.js
- jsx-no-comment-textnodes.js
- jsx-no-constructed-context-values.js
- jsx-no-duplicate-props.js
- jsx-no-leaked-render.js
- jsx-no-literals.js
- jsx-no-script-url.js
- jsx-no-target-blank.js
- jsx-no-undef.js
- jsx-no-useless-fragment.js
- jsx-one-expression-per-line.js
- jsx-pascal-case.js
- jsx-props-no-multi-spaces.js
- jsx-props-no-spread-multi.js
- jsx-props-no-spreading.js
- jsx-sort-default-props.js
- jsx-sort-props.js
- jsx-space-before-closing.js
- jsx-tag-spacing.js
- jsx-uses-react.js
- jsx-uses-vars.js
- jsx-wrap-multilines.js
- no-access-state-in-setstate.js
- no-adjacent-inline-elements.js
- no-array-index-key.js
- no-arrow-function-lifecycle.js
- no-children-prop.js
- no-danger-with-children.js
- no-danger.js
- no-deprecated.js
- no-did-mount-set-state.js
- no-did-update-set-state.js
- no-direct-mutation-state.js
- no-find-dom-node.js
- no-invalid-html-attribute.js
- no-is-mounted.js
- no-multi-comp.js
- no-namespace.js
- no-object-type-as-default-prop.js
- no-redundant-should-component-update.js
- no-render-return-value.js
- no-set-state.js
- no-string-refs.js
- no-this-in-sfc.js
- no-typos.js
- no-unescaped-entities.js
- no-unknown-property.js
- no-unsafe.js
- no-unstable-nested-components.js
- no-unused-class-component-methods.js
- no-unused-prop-types.js
- no-unused-state.js
- no-will-update-set-state.js
- prefer-es6-class.js
- prefer-exact-props.js
- prefer-read-only-props.js
- prefer-stateless-function.js
- prop-types.js
- react-in-jsx-scope.js
- require-default-props.js
- require-optimization.js
- require-render-return.js
- self-closing-comp.js
- sort-comp.js
- sort-default-props.js
- sort-prop-types.js
- state-in-constructor.js
- static-property-placement.js
- style-prop-object.js
- void-dom-elements-no-children.js
- annotations.js
- ast.js
- Components.js
- componentUtil.js
- defaultProps.js
- docsUrl.js
- error.js
- eslint.js
- getTokenBeforeClosingBracket.js
- isCreateContext.js
- isCreateElement.js
- isDestructuredFromPragmaImport.js
- isFirstLetterCapitalized.js
- jsx.js
- lifecycleMethods.js
- linkComponents.js
- log.js
- makeNoMethodSetStateRule.js
- message.js
- pragma.js
- props.js
- propTypes.js
- propTypesSort.js
- propWrapper.js
- report.js
- usedPropTypes.js
- variable.js
- version.js
- types.d.ts
- eslint-remote-tester.config.js
- mocha.opts
- .npmrc
- index.js
- package.json
- tsconfig.json
- eslint.config-deep.js
- eslint.config-root.js
- test.jsx
- eslint.config-deep.js
- eslint.config-root.js
- test.jsx
- eslint.config-deep.js
- eslint.config-root.js
- test.jsx
- eslint.config.js
- test.jsx
- eslint.config-deep.js
- eslint.config-root.js
- test.jsx
- package.json
- index.js
- package.json
- test.js
- package.json
- index.js
- package.json
- test.js
- index.js
- package.json
- test.js
- package.json
- index.js
- package.json
- test.js
- getESLintCoreRule.js
- getRuleDefiner.js
- parsers.js
- ruleTester.js
- async-server-action.js
- boolean-prop-naming.js
- button-has-type.js
- checked-requires-onchange-or-readonly.js
- default-props-match-prop-types.js
- destructuring-assignment.js
- display-name.js
- forbid-component-props.js
- forbid-dom-props.js
- forbid-elements.js
- forbid-foreign-prop-types.js
- forbid-prop-types.js
- forward-ref-uses-ref.js
- function-component-definition.js
- hook-use-state.js
- iframe-missing-sandbox.js
- jsx-boolean-value.js
- jsx-child-element-spacing.js
- jsx-closing-bracket-location.js
- jsx-closing-tag-location.js
- jsx-curly-brace-presence.js
- jsx-curly-newline.js
- jsx-curly-spacing.js
- jsx-equals-spacing.js
- jsx-filename-extension.js
- jsx-first-prop-new-line.js
- jsx-fragments.js
- jsx-handler-names.js
- jsx-indent-props.js
- jsx-indent.js
- jsx-key.js
- jsx-max-depth.js
- jsx-max-props-per-line.js
- jsx-newline.js
- jsx-no-bind.js
- jsx-no-comment-textnodes.js
- jsx-no-constructed-context-values.js
- jsx-no-duplicate-props.js
- jsx-no-leaked-render.js
- jsx-no-literals.js
- jsx-no-script-url.js
- jsx-no-target-blank.js
- jsx-no-undef.js
- jsx-no-useless-fragment.js
- jsx-one-expression-per-line.js
- jsx-pascal-case.js
- jsx-props-no-multi-spaces.js
- jsx-props-no-spread-multi.js
- jsx-props-no-spreading.js
- jsx-sort-default-props.js
- jsx-sort-props.js
- jsx-space-before-closing.js
- jsx-tag-spacing.js
- jsx-uses-react.js
- jsx-uses-vars.js
- jsx-wrap-multilines.js
- no-access-state-in-setstate.js
- no-adjacent-inline-elements.js
- no-array-index-key.js
- no-arrow-function-lifecycle.js
- no-children-prop.js
- no-danger-with-children.js
- no-danger.js
- no-deprecated.js
- no-did-mount-set-state.js
- no-did-update-set-state.js
- no-direct-mutation-state.js
- no-find-dom-node.js
- no-invalid-html-attribute.js
- no-is-mounted.js
- no-multi-comp.js
- no-namespace.js
- no-object-type-as-default-prop.js
- no-redundant-should-component-update.js
- no-render-return-value.js
- no-set-state.js
- no-string-refs.js
- no-this-in-sfc.js
- no-typos.js
- no-unescaped-entities.js
- no-unknown-property.js
- no-unsafe.js
- no-unstable-nested-components.js
- no-unused-class-component-methods.js
- no-unused-prop-types.js
- no-unused-state.js
- no-will-update-set-state.js
- prefer-es6-class.js
- prefer-exact-props.js
- prefer-read-only-props.js
- prefer-stateless-function.js
- prop-types.js
- react-in-jsx-scope.js
- require-default-props.js
- require-optimization.js
- require-render-return.js
- self-closing-comp.js
- sort-comp.js
- sort-default-props.js
- sort-prop-types.js
- state-in-constructor.js
- static-property-placement.js
- style-prop-object.js
- void-dom-elements-no-children.js
- .eslintrc
- ast.js
- Components.js
- isFirstLetterCapitalized.js
- jsx.js
- linkComponents.js
- pragma.js
- propWrapper.js
- variable.js
- version.js
- flat-config.js
- index.js
- jsx-no-literals.d.ts
- index.d.ts
- eslint-core-augment.d.ts
- .editorconfig
- .eslint-doc-generatorrc.js
- .eslintrc
- .gitignore
- .markdownlint.json
- .markdownlintignore
- .npmrc
- build.tsconfig.json
- CHANGELOG.md
- CONTRIBUTING.md
- index.js
- LICENSE
- package.json
- README.md
- SECURITY.md
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/jsx-eslint/eslint-plugin-react
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd eslint-plugin-react
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install eslint eslint-plugin-react --save-dev
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
