feat(app): add eslint #3
This commit is contained in:
parent
3977ac2adc
commit
c29db6ffd1
3
.eslintignore
Normal file
3
.eslintignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
public
|
||||||
|
offline_node_modules
|
||||||
24
.eslintrc
Normal file
24
.eslintrc
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -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
|
||||||
|
|||||||
BIN
offline_node_modules/@aashutoshrathi-word-wrap-1.2.6.tgz
generated
Normal file
BIN
offline_node_modules/@aashutoshrathi-word-wrap-1.2.6.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@eslint-community-eslint-utils-4.4.0.tgz
generated
Normal file
BIN
offline_node_modules/@eslint-community-eslint-utils-4.4.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@eslint-community-regexpp-4.10.0.tgz
generated
Normal file
BIN
offline_node_modules/@eslint-community-regexpp-4.10.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@eslint-eslintrc-2.1.4.tgz
generated
Normal file
BIN
offline_node_modules/@eslint-eslintrc-2.1.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@eslint-js-8.57.0.tgz
generated
Normal file
BIN
offline_node_modules/@eslint-js-8.57.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@humanwhocodes-config-array-0.11.14.tgz
generated
Normal file
BIN
offline_node_modules/@humanwhocodes-config-array-0.11.14.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@humanwhocodes-module-importer-1.0.1.tgz
generated
Normal file
BIN
offline_node_modules/@humanwhocodes-module-importer-1.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@humanwhocodes-object-schema-2.0.2.tgz
generated
Normal file
BIN
offline_node_modules/@humanwhocodes-object-schema-2.0.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@stylistic-eslint-plugin-1.5.4.tgz
generated
Normal file
BIN
offline_node_modules/@stylistic-eslint-plugin-1.5.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@stylistic-eslint-plugin-js-1.5.4.tgz
generated
Normal file
BIN
offline_node_modules/@stylistic-eslint-plugin-js-1.5.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@stylistic-eslint-plugin-js-1.7.0.tgz
generated
Normal file
BIN
offline_node_modules/@stylistic-eslint-plugin-js-1.7.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@stylistic-eslint-plugin-jsx-1.5.4.tgz
generated
Normal file
BIN
offline_node_modules/@stylistic-eslint-plugin-jsx-1.5.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@stylistic-eslint-plugin-plus-1.5.4.tgz
generated
Normal file
BIN
offline_node_modules/@stylistic-eslint-plugin-plus-1.5.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@stylistic-eslint-plugin-ts-1.5.4.tgz
generated
Normal file
BIN
offline_node_modules/@stylistic-eslint-plugin-ts-1.5.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@types-json5-0.0.29.tgz
generated
Normal file
BIN
offline_node_modules/@types-json5-0.0.29.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@types-semver-7.5.8.tgz
generated
Normal file
BIN
offline_node_modules/@types-semver-7.5.8.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-eslint-plugin-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-eslint-plugin-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-parser-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-parser-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-scope-manager-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-scope-manager-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-scope-manager-6.21.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-scope-manager-6.21.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-type-utils-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-type-utils-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-types-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-types-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-types-6.21.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-types-6.21.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-typescript-estree-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-typescript-estree-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-typescript-estree-6.21.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-typescript-estree-6.21.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-utils-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-utils-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-utils-6.21.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-utils-6.21.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-visitor-keys-6.20.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-visitor-keys-6.20.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@typescript-eslint-visitor-keys-6.21.0.tgz
generated
Normal file
BIN
offline_node_modules/@typescript-eslint-visitor-keys-6.21.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@ungap-structured-clone-1.2.0.tgz
generated
Normal file
BIN
offline_node_modules/@ungap-structured-clone-1.2.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/acorn-jsx-5.3.2.tgz
generated
Normal file
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
BIN
offline_node_modules/aria-query-5.3.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/array-buffer-byte-length-1.0.1.tgz
generated
Normal file
BIN
offline_node_modules/array-buffer-byte-length-1.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/array-includes-3.1.8.tgz
generated
Normal file
BIN
offline_node_modules/array-includes-3.1.8.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/array.prototype.findlastindex-1.2.5.tgz
generated
Normal file
BIN
offline_node_modules/array.prototype.findlastindex-1.2.5.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/array.prototype.flat-1.3.2.tgz
generated
Normal file
BIN
offline_node_modules/array.prototype.flat-1.3.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/array.prototype.flatmap-1.3.2.tgz
generated
Normal file
BIN
offline_node_modules/array.prototype.flatmap-1.3.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/array.prototype.tosorted-1.1.3.tgz
generated
Normal file
BIN
offline_node_modules/array.prototype.tosorted-1.1.3.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/arraybuffer.prototype.slice-1.0.3.tgz
generated
Normal file
BIN
offline_node_modules/arraybuffer.prototype.slice-1.0.3.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/ast-types-flow-0.0.8.tgz
generated
Normal file
BIN
offline_node_modules/ast-types-flow-0.0.8.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/available-typed-arrays-1.0.7.tgz
generated
Normal file
BIN
offline_node_modules/available-typed-arrays-1.0.7.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/axe-core-4.7.0.tgz
generated
Normal file
BIN
offline_node_modules/axe-core-4.7.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/axobject-query-3.2.1.tgz
generated
Normal file
BIN
offline_node_modules/axobject-query-3.2.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/damerau-levenshtein-1.0.8.tgz
generated
Normal file
BIN
offline_node_modules/damerau-levenshtein-1.0.8.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/data-view-buffer-1.0.1.tgz
generated
Normal file
BIN
offline_node_modules/data-view-buffer-1.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/data-view-byte-length-1.0.1.tgz
generated
Normal file
BIN
offline_node_modules/data-view-byte-length-1.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/data-view-byte-offset-1.0.0.tgz
generated
Normal file
BIN
offline_node_modules/data-view-byte-offset-1.0.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/debug-3.2.7.tgz
generated
Normal file
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
BIN
offline_node_modules/deep-is-0.1.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/define-properties-1.2.1.tgz
generated
Normal file
BIN
offline_node_modules/define-properties-1.2.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/dequal-2.0.3.tgz
generated
Normal file
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
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
BIN
offline_node_modules/doctrine-3.0.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/es-abstract-1.23.2.tgz
generated
Normal file
BIN
offline_node_modules/es-abstract-1.23.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/es-iterator-helpers-1.0.18.tgz
generated
Normal file
BIN
offline_node_modules/es-iterator-helpers-1.0.18.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/es-object-atoms-1.0.0.tgz
generated
Normal file
BIN
offline_node_modules/es-object-atoms-1.0.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/es-set-tostringtag-2.0.3.tgz
generated
Normal file
BIN
offline_node_modules/es-set-tostringtag-2.0.3.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/es-shim-unscopables-1.0.2.tgz
generated
Normal file
BIN
offline_node_modules/es-shim-unscopables-1.0.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/es-to-primitive-1.2.1.tgz
generated
Normal file
BIN
offline_node_modules/es-to-primitive-1.2.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-8.57.0.tgz
generated
Normal file
BIN
offline_node_modules/eslint-8.57.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-config-ksv741-0.0.1.tgz
generated
Normal file
BIN
offline_node_modules/eslint-config-ksv741-0.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-import-resolver-node-0.3.9.tgz
generated
Normal file
BIN
offline_node_modules/eslint-import-resolver-node-0.3.9.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-import-resolver-typescript-3.6.1.tgz
generated
Normal file
BIN
offline_node_modules/eslint-import-resolver-typescript-3.6.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-module-utils-2.8.1.tgz
generated
Normal file
BIN
offline_node_modules/eslint-module-utils-2.8.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-plugin-import-2.29.1.tgz
generated
Normal file
BIN
offline_node_modules/eslint-plugin-import-2.29.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-plugin-jsx-a11y-6.8.0.tgz
generated
Normal file
BIN
offline_node_modules/eslint-plugin-jsx-a11y-6.8.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-plugin-react-7.33.2.tgz
generated
Normal file
BIN
offline_node_modules/eslint-plugin-react-7.33.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-plugin-react-hooks-4.6.0.tgz
generated
Normal file
BIN
offline_node_modules/eslint-plugin-react-hooks-4.6.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-scope-7.2.2.tgz
generated
Normal file
BIN
offline_node_modules/eslint-scope-7.2.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/eslint-visitor-keys-3.4.3.tgz
generated
Normal file
BIN
offline_node_modules/eslint-visitor-keys-3.4.3.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/espree-9.6.1.tgz
generated
Normal file
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
BIN
offline_node_modules/esquery-1.5.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/fast-levenshtein-2.0.6.tgz
generated
Normal file
BIN
offline_node_modules/fast-levenshtein-2.0.6.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/file-entry-cache-6.0.1.tgz
generated
Normal file
BIN
offline_node_modules/file-entry-cache-6.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/flat-cache-3.2.0.tgz
generated
Normal file
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
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
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
BIN
offline_node_modules/fs.realpath-1.0.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/function.prototype.name-1.1.6.tgz
generated
Normal file
BIN
offline_node_modules/function.prototype.name-1.1.6.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/functions-have-names-1.2.3.tgz
generated
Normal file
BIN
offline_node_modules/functions-have-names-1.2.3.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/get-symbol-description-1.0.2.tgz
generated
Normal file
BIN
offline_node_modules/get-symbol-description-1.0.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/glob-7.2.3.tgz
generated
Normal file
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
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
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
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
BIN
offline_node_modules/has-bigints-1.0.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/has-tostringtag-1.0.2.tgz
generated
Normal file
BIN
offline_node_modules/has-tostringtag-1.0.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/imurmurhash-0.1.4.tgz
generated
Normal file
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
BIN
offline_node_modules/inflight-1.0.6.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/internal-slot-1.0.7.tgz
generated
Normal file
BIN
offline_node_modules/internal-slot-1.0.7.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-array-buffer-3.0.4.tgz
generated
Normal file
BIN
offline_node_modules/is-array-buffer-3.0.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-async-function-2.0.0.tgz
generated
Normal file
BIN
offline_node_modules/is-async-function-2.0.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-bigint-1.0.4.tgz
generated
Normal file
BIN
offline_node_modules/is-bigint-1.0.4.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-boolean-object-1.1.2.tgz
generated
Normal file
BIN
offline_node_modules/is-boolean-object-1.1.2.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-callable-1.2.7.tgz
generated
Normal file
BIN
offline_node_modules/is-callable-1.2.7.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-data-view-1.0.1.tgz
generated
Normal file
BIN
offline_node_modules/is-data-view-1.0.1.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/is-date-object-1.0.5.tgz
generated
Normal file
BIN
offline_node_modules/is-date-object-1.0.5.tgz
generated
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user