.eslintrc
raw| 1 | { |
| 2 | "rules": { |
| 3 | "no-console": ["off"], |
| 4 | "indent": ["error", 2], |
| 5 | "quotes": ["error", "single"], |
| 6 | "linebreak-style": ["error", "unix"], |
| 7 | "no-unused-vars": ["warn", { "vars": "all", "args": "after-used" }], |
| 8 | "semi": ["error", "always"] |
| 9 | }, |
| 10 | "env": { |
| 11 | "browser": true, |
| 12 | "jquery": true |
| 13 | }, |
| 14 | "extends": "eslint:recommended", |
| 15 | "globals": { |
| 16 | "define": true, |
| 17 | "module": true, |
| 18 | "require": true |
| 19 | } |
| 20 | } |