Skip to content

Instantly share code, notes, and snippets.

@skogaby
skogaby / eslint.config.md
Created February 9, 2018 17:52 — forked from Pepeye/eslint.config.md
Setup ES6+Babel+JSX Linting with Atom/Nuclide

Setup ES6+Babel+JSX Linting with Atom/Nuclide

This sets up Atom to properly lint ES6+Babel+JSX using Airbnb's .eslintrc as a starting point.

Steps

  1. Download Atom and get these two packages: Linter and [Linter-ESLint)(https://atom.io/packages/linter-eslint)
  2. Run npm i -D eslint eslint-config-airbnb babel-eslint eslint-plugin-babel eslint-plugin-react eslint-plugin-react-native eslint-plugin-import eslint-plugin-jsx-a11y from your project root.
  3. Add "extends": "airbnb" to your .eslintrc and "plugins": [ "babel", "react", "react-native", "jsx-a11y" ]
  4. Run apm install linter-eslint this also installs linter which clashes with nuclide diagnostics
root@madmonkey:~# cat /etc/rsyncd.conf
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
[root]
path = /
comment = Root access for fuckmyclassic
uid = root
gid = root
#include "PluggableUSB.h"
#include "HID.h"
#include <FastLED.h>
typedef struct {
uint8_t brightness;
} SingleLED;
typedef struct {
uint8_t r;