Index: eslint-config-eyeo/README.md |
diff --git a/eslint-config-eyeo/README.md b/eslint-config-eyeo/README.md |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6606e4507be2f4b125e637534db9007a8b84c800 |
--- /dev/null |
+++ b/eslint-config-eyeo/README.md |
@@ -0,0 +1,27 @@ |
+# eslint-config-eyeo |
+ |
+An [ESLint](http://eslint.org) configuration that checks for compliance with the |
+[Adblock Plus coding style guide](https://adblockplus.org/coding-style#javascript). |
Sebastian Noack
2017/02/10 18:04:31
This seems a little inconsistent with the decision
kzar
2017/02/10 19:10:44
Done.
|
+ |
+## Installation |
+ |
+ npm install -g eslint eslint-config-eyeo |
+ |
+(As root, or using sudo.) |
+ |
+## Usage |
+ |
+To lint a JavaScript file using ESLint you simply run the `eslint` command with |
+the file as an argument. For example: |
+ |
+ eslint some-file.js |
+ |
+(For advanced usage see `eslint --help`.) |
+ |
+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.
|
+ESLint configuration which extends `eslint-config-eyeo` you can create a |
+personal configuration in `~/.eslintrc.json` like so: |
+ |
+ { |
+ "extends": "eslint-config-eyeo" |
+ } |