prettier-eslint |
eslint-plugin-prettier |
eslint-config-prettier |
|
---|---|---|---|
What it is | A JavaScript module exporting a single function. | An ESLint plugin. | An ESLint configuration. |
What it does | Runs the code (string) through prettier then eslint --fix . The output is also a string. |
Plugins usually contain implementations for additional rules that ESLint will check for. This plugin uses Prettier under the hood and will raise ESLint errors when your code differs from Prettier's expected output. | This config turns off formatting-related rules that might conflict with Prettier, allowing you to use Prettier with other ESLint configs like eslint-config-airbnb . |
How to use it | Either calling the function in your code or via [prettier-eslint-cli ](https://github.co |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Delete a remote branch | |
$ git push origin --delete <branch> # Git version 1.7.0 or newer | |
$ git push origin :<branch> # Git versions older than 1.7.0 | |
## Delete a local branch | |
$ git branch --delete <branch> | |
$ git branch -d <branch> # Shorter version | |
$ git branch -D <branch> # Force delete un-merged branches | |
## Delete a local remote-tracking branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"keys": [{ | |
"e": "AQAB", | |
"kid": "ADHFbpoIUqrY8t2zpA2qXfCmr5VO5ZEr4RzHU_-envvQ", | |
"kty": "RSA", | |
"n": "xAE7eB6qugXyCAG3yhh7pkDkT65pHymX-P7KfIupjf59vsdo91bSP9C8H07pSAGQO1MV_xFj9VswgsCg4R6otmg5PV2He95lZdHtOcU5DXIg_pbhLdKXbi66GlVeK6ABZOUW3WYtnNHD-91gVuoeJT_DwtGGcp4ignkgXfkiEm4sw-4sfb4qdt5oLbyVpmW6x9cfa7vs2WTfURiCrBoUqgBo_-4WTiULmmHSGZHOjzwa8WtrtOQGsAFjIbno85jp6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ" | |
}] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18:26:55,675 WARN [org.jboss.modules.define] (ServerService Thread Pool -- 17) Failed to define class org.keycloak.subsystem.adapter.extension.KeycloakExtension in Module "org.keycloak.keycloak-wildfly-subsystem" version 6.0.1 from local module loader @38234a38 (finder: local module finder @63fbfaeb (roots: /home/bruno/Downloads/wildfly-19.1.0.Final/modules,/home/bruno/Downloads/wildfly-19.1.0.Final/modules/system/layers/base,/home/bruno/Downloads/wildfly-19.1.0.Final/modules/system/add-ons/keycloak)): org.jboss.modules.ModuleLoadError: org.jboss.metadata | |
at org.jboss.modules.Module.addPaths(Module.java:1266) | |
at org.jboss.modules.Module.link(Module.java:1622) | |
at org.jboss.modules.Module.getPaths(Module.java:1583) | |
at org.jboss.modules.Module.getPathsUnchecked(Module.java:1606) | |
at org.jboss.modules.Module.loadModuleClass(Module.java:726) | |
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247) | |
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.tabSize": 2, | |
"[csharp]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4 | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2 | |
}, | |
"[json]": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// The 'AbstractFactory' interface. | |
/// </summary> | |
interface VehicleFactory | |
{ | |
Bike GetBike(string Bike); | |
Scooter GetScooter(string Scooter); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you've got local source code you want to add to a new remote new git repository without 'cloning' the remote first, do the following (I often do this - you create your remote empty repository in bitbucket/github, then push up your source) | |
1. Create the remote repository, and get the URL such as git://github.com/youruser/somename.git | |
2. If your local GIT repo is already set up, skips steps 2 and 3 | |
3. Locally, at the root directory of your source, git init | |
4. Locally, add and commit what you want in your initial repo (for everything, | |
git add . |