blyss v11.0.1
JavaScript Blyss Style
A preset linter without any style rules. Focus on the errors and let Prettier handle your styling.
Features:
- Strict ES6 Rules
- Flowtype support out-of-the-box
- Compatibility with
prettier - No style rules! Let your
prettierconfig handle whitespace, quotes, semicolons, tabs/spaces, trailing commas, etc
Installation
$ npm install -g blyssUsage
$ blyss
Error: Blyss Linter
lib/index.js:15:11: Expected '===' and instead saw '=='.What you might do if you're clever
- Install
blyssas adevDependencyfor your project by runningnpm install -D blyss Add a line in your
scriptsfield to use the linter{ "name": "my-cool-package", "devDependencies": { "blyss": "*" }, "scripts": { "lint": "blyss" } }Run your script by doing
npm run lintwhenever you want to lint your code.
Make it look snazzy
If you want prettier output, just install the snazzy package and pipe blyss to it:
$ blyss --verbose | snazzyIgnoring files
Just like in standard, The paths node_modules/**, *.min.js, bundle.js, coverage/**, hidden files/folders
(beginning with .), and all patterns in a project's root .gitignore file are
automatically excluded when looking for .js files to check.
Sometimes you need to ignore additional folders or specific minfied files. To do that, add
a blyss.ignore property to package.json:
"blyss": {
"ignore": [
"**/out/",
"/lib/select2/",
"/lib/ckeditor/",
"tmp.js"
]
}Credits
Thanks to @feross and @flet for creating standard-engine which is what this project is built on.
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago