All Projects → luizalabs → gandalf-lint

luizalabs / gandalf-lint

Licence: MIT License
Bad Code Shall Not Pass

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gandalf-lint

eslint-config
An ESLint shareable config that I used in my projects
Stars: ✭ 15 (-48.28%)
Mutual labels:  lint, eslint, linter
arcanist-linters
A collection of custom Arcanist linters
Stars: ✭ 64 (+120.69%)
Mutual labels:  lint, eslint, linter
elint
A easy way to lint your code
Stars: ✭ 38 (+31.03%)
Mutual labels:  lint, eslint, linter
lint-prepush
Lint committed files on pre-push 🔬
Stars: ✭ 18 (-37.93%)
Mutual labels:  lint, linter
AutoBindings
Set of annotations that aims to make your Android development experience easier along with lint checks.
Stars: ✭ 15 (-48.28%)
Mutual labels:  lint, linter
openapi-lint-vscode
OpenAPI 2.0/3.0.x intellisense, validator, linter, converter and resolver extension for Visual Studio Code
Stars: ✭ 47 (+62.07%)
Mutual labels:  lint, linter
eslint-config-kingstinct-react-native
Eslint configuration for React-native based on Airbnb with some great tweaks
Stars: ✭ 23 (-20.69%)
Mutual labels:  eslint, linter
cpplint
Static code checker for C++
Stars: ✭ 1,014 (+3396.55%)
Mutual labels:  lint, linter
codeclimate-eslint
Code Climate Engine for ESLint
Stars: ✭ 86 (+196.55%)
Mutual labels:  eslint, linter
pahout
A pair programming partner for writing better PHP. Pahout means PHP mahout 🐘
Stars: ✭ 43 (+48.28%)
Mutual labels:  lint, linter
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.
Stars: ✭ 19 (-34.48%)
Mutual labels:  lint, eslint
JSONCustomLintr
Library to allow creation, running, and reporting of custom lint rules for JSON files
Stars: ✭ 19 (-34.48%)
Mutual labels:  lint, linter
arduino-lint
Tool to check for problems with Arduino projects
Stars: ✭ 63 (+117.24%)
Mutual labels:  lint, linter
dockerfile-utils
A library and command line interface for formatting and linting Dockerfiles.
Stars: ✭ 17 (-41.38%)
Mutual labels:  lint, linter
extra pedantic
Stricter Dart analyzer linter settings and best practices.
Stars: ✭ 28 (-3.45%)
Mutual labels:  lint, linter
flake8-broken-line
🚨 Flake8 plugin to forbid backslashes (\) for line breaks
Stars: ✭ 85 (+193.1%)
Mutual labels:  lint, linter
relint
General purpose RegEx based file linter.
Stars: ✭ 33 (+13.79%)
Mutual labels:  lint, linter
selective
Statically find HTML anti patterns using CSS Selectors
Stars: ✭ 15 (-48.28%)
Mutual labels:  lint, linter
ue5-style-guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,892 (+9872.41%)
Mutual labels:  lint, linter
Format.cmake
💅 Stylize your code! Automatic clang-format and cmake-format targets for CMake.
Stars: ✭ 94 (+224.14%)
Mutual labels:  lint, linter

npm build size dependencies GitHub

gandalf-lint


Bad Code Shall Not Pass

Install

NPM:

npm install --save-dev eslint @softboxlab/eslint-config-gandalf-lint

Yarn:

yarn add --dev eslint @softboxlab/eslint-config-gandalf-lint

Requirements

Configure

Call the white wizard by creating a .eslintrc file on your root project and writing in it:

{
  "extends": "@softboxlab/eslint-config-gandalf-lint"
}

Remember to add the eslint plugin on your favorite IDE, like this one: ESLint for VSCode

Usage

You can create a script on your package.json file like so:

"scripts": {
  "glint": "eslint --ext .js PROJECT_FOLDER"
}

And use your magic script for shall not pass any bad code:

npm run glint

And with fireworks you can automagically fix some errors:

npm run glint --fix

or using yarn:

yarn glint
yarn glint --fix

Autorun it?

If you don't fell like creating any scripts, feel free to have your files linted on the fly by your IDE (did you remember to install the eslint plugin on your IDE?)



Gandalf approves

Contributors

License

The MIT License (MIT)

Copyright (c) Feross Aboukhadijeh

Copyright (c) 2012 Airbnb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


This project licence is also MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].