
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
souffle-cli
Advanced tools
A style checker. based on eslint, similar to standard, allows more spaces.
A style checker. based on eslint, similar to standard, allows more spaces.
npm install --save souffle-cli
The above installs souffle command.
Any rule can be modified by the option settings in package.json
You can create a similar command with your .eslintrc using white-lint module.
The behaviour of the command can be modified by the object at souffle key of the package.json.
See the examples below for details.
globals: ArraySet globals variables.
{
"name": "your-package",
"souffle": {
"globals": ["$", "util"]
}
}
The above sets $ and util as global variables.
parser: StringSet the custom parser.
{
"name": "your-package",
"souffle": {
"parser": "babel-eslint"
}
}
The above use babel-eslint as the parser.
rules: ObjectSet or overwrite any rules of eslint.
{
"name": "your-package",
"souffle": {
"rules": {
"operator-linebreak": 0
}
}
}
The above turns operator-linebreak rule off.
indent: Number|'tab'Set space indent size or tab indent. (default: 4)
{
"name": "your-package",
"souffle": {
"indent": "tab"
}
}
The above sets tab indent.
{
"name": "your-package",
"souffle": {
"indent": 2
}
}
The above sets 2 space indent.
semi: BooleanSet true if you use semicolon at the end of each line.
{
"name": "your-package",
"souffle": {
"semi": true
}
}
The above sets to use semicolons.
Optionally the command behaviour can be modified by the command line options.
Usage:
souffle <flags> [FILES...]
If FILES is omitted, then all JavaScript source files (*.js, *.jsx) in the current
working directory are checked, recursively.
Certain paths (node_modules/, .git/, coverage/, *.min.js, bundle.js) are
automatically ignored.
Flags:
--global Declare global variable (can be set multiple times)
--parser Use custom js parser (e.g. babel-eslint)
-2, --2 Use 2 space indent
-4, --4 Use 4 space indent
--tab Use tab indent
--semi Use semicolon
--no-semi Don't use semicolon
-h, --help Show usage information
-v, --version Show current version
[](https://github.com/kt3k/souffle)
MIT
FAQs
A style checker. based on eslint, similar to standard, allows more spaces.
The npm package souffle-cli receives a total of 36 weekly downloads. As such, souffle-cli popularity was classified as not popular.
We found that souffle-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.