1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {
- "root": true,
- "extends": "@ljharb/eslint-config/node/0.4",
- "rules": {
- "array-bracket-newline": 0,
- "array-callback-return": 0,
- "array-element-newline": 0,
- "complexity": 0,
- "func-style": [2, "declaration"],
- "global-require": 1,
- "max-lines-per-function": 0,
- "max-statements-per-line": [1, {"max": 2}],
- "multiline-comment-style": 0,
- "no-proto": 0,
- "no-sparse-arrays": 1,
- "no-underscore-dangle": 0,
- "no-invalid-this": 0,
- "object-curly-newline": 0,
- "sort-keys": 0,
- "max-lines": "warn",
- },
- "overrides": [
- {
- "files": "examples/**",
- "rules": {
- "no-console": 0,
- "no-plusplus": 0,
- "no-magic-numbers": 0,
- },
- },
- {
- "files": [
- "test/typed-array.js",
- "test/mutability.js",
- ],
- "globals": {
- "Uint8Array": false
- },
- }
- ],
- }
|