Last change
on this file was
881,
checked in by Maciej Komosinski, 6 years ago
|
Initial, prototype version of a javascript app to test how humans align two 3D structures
|
File size:
1.6 KB
|
Line | |
---|
1 | { |
---|
2 | "plugins": [ |
---|
3 | "react" |
---|
4 | ], |
---|
5 | "parserOptions": { |
---|
6 | "ecmaVersion": 6, |
---|
7 | "sourceType": "module", |
---|
8 | "ecmaFeatures": { |
---|
9 | "jsx": true, |
---|
10 | "experimentalObjectRestSpread": true |
---|
11 | } |
---|
12 | }, |
---|
13 | "env": { |
---|
14 | "es6": true, |
---|
15 | "browser": true, |
---|
16 | "node": true, |
---|
17 | "mocha": true |
---|
18 | }, |
---|
19 | "extends": [ |
---|
20 | "eslint:recommended", |
---|
21 | "plugin:react/recommended" |
---|
22 | ], |
---|
23 | "rules": { |
---|
24 | "no-debugger": 2, |
---|
25 | "brace-style": [ |
---|
26 | 0, |
---|
27 | "1tbs", |
---|
28 | { |
---|
29 | "allowSingleLine": true |
---|
30 | } |
---|
31 | ], |
---|
32 | "no-trailing-spaces": 0, |
---|
33 | "keyword-spacing": 2, |
---|
34 | "space-before-function-paren": [ |
---|
35 | 2, |
---|
36 | "never" |
---|
37 | ], |
---|
38 | "spaced-comment": [ |
---|
39 | 0, |
---|
40 | "always" |
---|
41 | ], |
---|
42 | "vars-on-top": 2, |
---|
43 | "no-undef": 2, |
---|
44 | "no-undefined": 2, |
---|
45 | "comma-dangle": [ |
---|
46 | 0, |
---|
47 | "never" |
---|
48 | ], |
---|
49 | "semi": [ |
---|
50 | 1, |
---|
51 | "always" |
---|
52 | ], |
---|
53 | "guard-for-in": 2, |
---|
54 | "no-eval": 2, |
---|
55 | "no-with": 2, |
---|
56 | "no-var": 2, |
---|
57 | "valid-typeof": 2, |
---|
58 | "no-unused-vars": 1, |
---|
59 | "no-continue": 1, |
---|
60 | "no-extra-semi": 1, |
---|
61 | "no-unreachable": 1, |
---|
62 | "no-unused-expressions": 1, |
---|
63 | "no-magic-numbers": 0, |
---|
64 | "react/prefer-es6-class": 1, |
---|
65 | "react/prop-types": 0, |
---|
66 | "react/no-find-dom-node": 0, |
---|
67 | "no-console": 1, |
---|
68 | "require-jsdoc": [ |
---|
69 | "warn", |
---|
70 | { |
---|
71 | "require": { |
---|
72 | "FunctionDeclaration": true, |
---|
73 | "MethodDefinition": true, |
---|
74 | "ClassDeclaration": true, |
---|
75 | "ArrowFunctionExpression": false, |
---|
76 | "FunctionExpression": false |
---|
77 | } |
---|
78 | } |
---|
79 | ], |
---|
80 | "valid-jsdoc": [ |
---|
81 | "warn", |
---|
82 | { |
---|
83 | "prefer": { |
---|
84 | "return": "returns" |
---|
85 | }, |
---|
86 | "requireReturn": false |
---|
87 | } |
---|
88 | ] |
---|
89 | } |
---|
90 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.