]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/blame - .eslintrc
fix: momentum scrolling for a few components
[thirdparty/foundation/foundation-sites.git] / .eslintrc
CommitLineData
2989d818
CM
1{
2 "env": {
2296e7a1
CM
3 "browser": true,
4 "builtin": true,
5 "es6": true,
2989d818 6 "jasmine": true,
2296e7a1 7 "jquery": true,
2989d818 8 "mocha": true,
2296e7a1 9 "node": true
2989d818 10 },
2296e7a1
CM
11 "globals": {
12 "Foundation": true
13 },
2914bb98
CM
14 "parserOptions": {
15 "ecmaFeatures": {
16 "impliedStrict": true,
17 "jsx": false
18 },
19 "ecmaVersion": 6,
20 "sourceType": "module"
21 },
2989d818
CM
22 "rules": {
23 "block-scoped-var": 2,
77fe00c7 24 "camelcase": 1,
2914bb98
CM
25 "comma-style": [2, "last"],
26 "curly": [0, "all"],
2989d818
CM
27 "dot-notation": [
28 2,
29 {
30 "allowKeywords": true
31 }
32 ],
2914bb98 33 "eqeqeq": [2, "allow-null"],
2989d818 34 "guard-for-in": 2,
77fe00c7 35 "new-cap": 0,
2989d818
CM
36 "no-bitwise": 2,
37 "no-caller": 2,
2914bb98 38 "no-cond-assign": [2, "except-parens"],
2989d818
CM
39 "no-debugger": 2,
40 "no-empty": 2,
41 "no-eval": 2,
42 "no-extend-native": 2,
77fe00c7 43 "no-extra-parens": 0,
2989d818
CM
44 "no-irregular-whitespace": 2,
45 "no-iterator": 2,
46 "no-loop-func": 2,
47 "no-multi-str": 2,
48 "no-new": 2,
2914bb98 49 "no-plusplus": 0,
2989d818
CM
50 "no-proto": 2,
51 "no-script-url": 2,
52 "no-sequences": 2,
2914bb98 53 "no-shadow": 1,
2989d818 54 "no-undef": 2,
2914bb98 55 "no-unused-vars": 1,
2989d818 56 "no-with": 2,
2914bb98 57 "quotes": 0,
65e128b7 58 "radix" : 2,
2914bb98
CM
59 "semi": [0, "never"],
60 "strict": [1, "global"],
2989d818 61 "valid-typeof": 2,
2914bb98 62 "wrap-iife": [2, "inside"]
2989d818 63 }
a884eb94 64}