![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@opuscapita/eslint-config-opuscapita-bnapp
Advanced tools
Readme
This package is created for andariel services for same eslint settings in services.
Use consistency style for all andariel services.
This eslint-config package handles node.js
+ browser
+ React
and Typescript
.
Requires node >= 12.x
Open andariel service
Just put to CLI:
npm i --save-dev eslint@8.20 @opuscapita/eslint-config-opuscapita-bnapp@latest
npm i --save-dev @babel/core@^7.18.9 @babel/preset-env@^7.18.9 @babel/eslint-parser@^7.18.9
npm i --save-dev eslint-plugin-react@^7.32.2 eslint-plugin-react-hooks@latest@^4.6.0 @babel/preset-react@^7.18.6
npm i --save-dev @typescript-eslint/eslint-plugin@^5.41.0 @typescript-eslint/parser@^5.41.0
npm uninstall @opuscapita/eslint-config
npm uninstall eslint-config-opuscapita
create .eslintrc
file and paste it:
{
"extends": ["@opuscapita/opuscapita-bnapp"]
}
npx eslint src --ext .js,.jsx
- check .js and .jsx files with eslint (src = folderName)
npx eslint src --ext .js,.jsx,.ts,.tsx
- check also .ts and .tsx files with eslint (src = folderName)
npx eslint src --ext .js,.jsx --fix
- check & fix(overwrite) .js and .jsx files with eslint
npx eslint src --ext .js,.jsx,.ts,.tsx --fix
- check & fix(overwrite) also .ts and .tsx files with eslint
remmember to check and test changes!
install Eslint >= 2.2.6
in settings.json
set
"eslint.workingDirectories": [{ "mode": "auto" }],
"eslint.runtime": "",
"eslint.alwaysShowStatus": true,
"eslint.debug": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"eslint.nodeEnv": "",
"eslint.useESLintClass": true,
"eslint.onIgnoredFiles": "warn",
"eslint.execArgv": null,
"eslint.validate": [
"javascript",
"javascriptreact",
]
rule handling:
2 = "error"
1 = "warning"
0 = "off"
This repo is inspired by the OpusCapita/eslint-config
FAQs
OpusCapita Eslint andariel config, following our styleguide
The npm package @opuscapita/eslint-config-opuscapita-bnapp receives a total of 196 weekly downloads. As such, @opuscapita/eslint-config-opuscapita-bnapp popularity was classified as not popular.
We found that @opuscapita/eslint-config-opuscapita-bnapp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.