main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[d565449] | 1 | {
|
---|
| 2 | "root": true,
|
---|
| 3 | "extends": "@ljharb",
|
---|
| 4 | "rules": {
|
---|
| 5 | "complexity": 0,
|
---|
| 6 | "func-style": [2, "declaration"],
|
---|
| 7 | "indent": [2, 4],
|
---|
| 8 | "max-lines": 1,
|
---|
| 9 | "max-lines-per-function": 1,
|
---|
| 10 | "max-params": [2, 4],
|
---|
| 11 | "max-statements": 0,
|
---|
| 12 | "max-statements-per-line": [2, { "max": 2 }],
|
---|
| 13 | "no-magic-numbers": 0,
|
---|
| 14 | "no-param-reassign": 1,
|
---|
| 15 | "strict": 0, // TODO
|
---|
| 16 | },
|
---|
| 17 | "overrides": [
|
---|
| 18 | {
|
---|
| 19 | "files": ["test/**", "test-*", "example/**"],
|
---|
| 20 | "extends": "@ljharb/eslint-config/tests",
|
---|
| 21 | "rules": {
|
---|
| 22 | "id-length": 0,
|
---|
| 23 | },
|
---|
| 24 | },
|
---|
| 25 | {
|
---|
| 26 | "files": ["example/**"],
|
---|
| 27 | "rules": {
|
---|
| 28 | "no-console": 0,
|
---|
| 29 | },
|
---|
| 30 | },
|
---|
| 31 | {
|
---|
| 32 | "files": ["test/browser/**"],
|
---|
| 33 | "env": {
|
---|
| 34 | "browser": true,
|
---|
| 35 | },
|
---|
| 36 | },
|
---|
| 37 | {
|
---|
| 38 | "files": ["test/bigint*"],
|
---|
| 39 | "rules": {
|
---|
| 40 | "new-cap": [2, { "capIsNewExceptions": ["BigInt"] }],
|
---|
| 41 | },
|
---|
| 42 | },
|
---|
| 43 | {
|
---|
| 44 | "files": "index.js",
|
---|
| 45 | "globals": {
|
---|
| 46 | "HTMLElement": false,
|
---|
| 47 | },
|
---|
| 48 | "rules": {
|
---|
| 49 | "no-use-before-define": 1,
|
---|
| 50 | },
|
---|
| 51 | },
|
---|
| 52 | ],
|
---|
| 53 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.