citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

.eslintrc (634B)


      1 {
      2   "env": {
      3     "node": true,
      4     "es6": 1
      5   },
      6   "rules": {
      7     // warnings
      8     "no-debugger": 1,
      9     "no-empty": 1,
     10     "no-invalid-regexp": 1,
     11     "radix": 1,
     12     "no-warning-comments": 1,
     13     "no-unused-expressions": 1,
     14     "no-native-reassign": 1,
     15     "no-fallthrough": 1,
     16 
     17     // errors
     18     "no-undef": 2,
     19     "no-dupe-keys": 2,
     20     "no-empty-character-class": 2,
     21     "no-self-compare": 2,
     22     "valid-typeof": 2,
     23     "no-unused-vars": 2,
     24     "handle-callback-err": 2,
     25     "no-shadow-restricted-names": 2,
     26 
     27     // stylistic errors
     28     "new-cap": 2,
     29     "no-spaced-func": 2,
     30     "semi-spacing": 2,
     31     "space-unary-ops": 2
     32   }
     33 }