feat(app): add eslint #3

This commit is contained in:
Sergey Krylov 2024-03-25 06:08:12 +03:00
parent 3977ac2adc
commit c29db6ffd1
171 changed files with 1537 additions and 43 deletions

3
.eslintignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
public
offline_node_modules

24
.eslintrc Normal file
View File

@ -0,0 +1,24 @@
{
"extends": "ksv741",
"rules": {
"import/extensions": [
"error", "ignorePackages", {
"mjs": "never",
"cjs": "never",
"js": "never",
"jsx": "never"
}]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".mjs", ".cjs", ".js", ".json", ".jsx"
]
}
},
"import/extensions": [
".mjs", ".cjs", ".js", ".json", ".jsx"
]
}
}

View File

@ -6,3 +6,4 @@
- `start:dev` - start local application on [`https://localhost:3000`](https://localhost:3000) - `start:dev` - start local application on [`https://localhost:3000`](https://localhost:3000)
- `build:prod` - build application - `build:prod` - build application
- `analyze:prod` - start analyze server on [`http://127.0.0.1:8888`](http://127.0.0.1:8888) - `analyze:prod` - start analyze server on [`http://127.0.0.1:8888`](http://127.0.0.1:8888)
- `lint` - linting files via ESLint

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/@eslint-js-8.57.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/acorn-jsx-5.3.2.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/aria-query-5.3.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/axe-core-4.7.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/debug-3.2.7.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/deep-is-0.1.4.tgz generated Normal file

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/dequal-2.0.3.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/doctrine-2.1.0.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/doctrine-3.0.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/eslint-8.57.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/espree-9.6.1.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/esquery-1.5.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/flat-cache-3.2.0.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/flatted-3.3.1.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/for-each-0.3.3.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/fs.realpath-1.0.0.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/glob-7.2.3.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/globals-13.24.0.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/globalthis-1.0.3.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/graphemer-1.4.0.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/has-bigints-1.0.2.tgz generated Normal file

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/imurmurhash-0.1.4.tgz generated Normal file

Binary file not shown.

BIN
offline_node_modules/inflight-1.0.6.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/is-bigint-1.0.4.tgz generated Normal file

Binary file not shown.

Binary file not shown.

BIN
offline_node_modules/is-callable-1.2.7.tgz generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More