Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: eslint-config-eyeo/README.md

Issue 29374555: Issue 3692 - Add base ESLint configuration (Closed)
Patch Set: Move configuration to a Node.js module in the codingtools repository Created Feb. 10, 2017, 2:52 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | eslint-config-eyeo/index.js » ('j') | eslint-config-eyeo/index.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # eslint-config-eyeo
2
3 An [ESLint](http://eslint.org) configuration that checks for compliance with the
4 [Adblock Plus coding style guide](https://adblockplus.org/coding-style#javascrip t).
Sebastian Noack 2017/02/10 18:04:31 This seems a little inconsistent with the decision
kzar 2017/02/10 19:10:44 Done.
5
6 ## Installation
7
8 npm install -g eslint eslint-config-eyeo
9
10 (As root, or using sudo.)
11
12 ## Usage
13
14 To lint a JavaScript file using ESLint you simply run the `eslint` command with
15 the file as an argument. For example:
16
17 eslint some-file.js
18
19 (For advanced usage see `eslint --help`.)
20
21 Note: If you need to lint files inside projects which do not already have an
Sebastian Noack 2017/02/10 18:04:31 This is not only relevant when linting projects th
kzar 2017/02/10 19:10:44 Done.
22 ESLint configuration which extends `eslint-config-eyeo` you can create a
23 personal configuration in `~/.eslintrc.json` like so:
24
25 {
26 "extends": "eslint-config-eyeo"
27 }
OLDNEW
« no previous file with comments | « no previous file | eslint-config-eyeo/index.js » ('j') | eslint-config-eyeo/index.js » ('J')

Powered by Google App Engine
This is Rietveld