Skip to content

Instantly share code, notes, and snippets.

@velopert velopert/
Last active Aug 31, 2018

What would you like to do?
using prettier with eslint

모듈 설치

yarn add eslint eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react


  "extends": ["airbnb", "prettier"],
  "rules": {
    "react/jsx-filename-extension": 0,
    "react/prefer-stateless-function": 0,
    "react/jsx-one-expression-per-line": 0
  "env": {
    "browser": true,
    "node": true


module.exports = {
  printWidth: 100,
  singleQuote: true,
  useTabs: false, // Indent lines with tabs instead of spaces.
  printWidth: 80, // Specify the length of line that the printer will wrap on.
  tabWidth: 2, // Specify the number of spaces per indentation-level.
  trailingComma: 'es5'

registerServiceWorker.js 맨 위 한줄 추가

/* eslint-disable */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.