mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
b121e3662f
* build: update deps dompurify, esbuild-loader, envinfo, express-rate-limit, fastify, handlebars, jsdom * build: remove unused devDep wait-on * build: update dep http-status-codes * build: update devDeps @typescript-eslint/*; deps aws-sdk & memfs * build: update devDep terser-webpack-plugin * build: update devDep eslint-plugin-prettier * build: update dev/devDeps node-fetch, react-hook-form * build: update e2e-cli deps npm & pnpm * build: update website devDev sass * build: update ui-theme devDep github-markdown-css * build: update logger dep pino minor version * build: update web devDep node-html-parser * build: remove some legacy flow-typed cruft * style: eslint-config-airbnb-typescript => @verdaccio/eslint-config; use prettier width 100 in website * fix: attempt eslint fix in Features.tsx as suggested by @semoal; website eslint still 1 error * fix: attempt to fix eslint warn about hooks usage Co-authored-by: Sergio Moreno <22656541+semoal@users.noreply.github.com>
22 lines
507 B
JavaScript
22 lines
507 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
project: './tsconfig.json'
|
|
},
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'@verdaccio/eslint-config'
|
|
],
|
|
rules: {
|
|
"@typescript-eslint/no-use-before-define": "warn",
|
|
"max-len": "off",
|
|
"react/jsx-one-expression-per-line": "off",
|
|
"react/prop-types": "off",
|
|
"react/require-default-props": "off",
|
|
}
|
|
};
|