This file contains 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
[*.cs] | |
# SA1309: Field names should not begin with underscore | |
dotnet_diagnostic.SA1309.severity = none | |
# SA1600: Elements should be documented | |
dotnet_diagnostic.SA1600.severity = none | |
# SA1633: File should have header | |
dotnet_diagnostic.SA1633.severity = none |
This file contains 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
Show hidden characters
{ | |
"presets": [ | |
["@babel/preset-env", { | |
"modules": false, | |
"useBuiltIns": "usage", | |
"targets": { | |
"esmodules": true | |
} | |
}], |
This file contains 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
const express = require('express'); | |
const bodyParser = require('body-parser'); | |
const cookieParser = require('cookie-parser'); | |
const favicon = require('serve-favicon'); | |
const morgan = require('morgan'); | |
const methodOverride = require('method-override'); | |
const path = require('path'); | |
const app = express(); |
This file contains 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
const UglifyJs = require('uglifyjs-webpack-plugin'); | |
const Clean = require('clean-webpack-plugin'); | |
const Copy = require('copy-webpack-plugin'); | |
const CSS = require('mini-css-extract-plugin'); | |
const HTML = require('html-webpack-plugin'); | |
const configureBabelLoader = () => ({ | |
test: /\.(js|jsx)$/, | |
exclude: /node_modules/, | |
use: { |
This file contains 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
export const ADD_TODO = '[Todo] Add Todo'; | |
export const REMOVE_TODO = '[Todo] Remove Todo'; | |
export class AddTodo { | |
readonly type = ADD_TODO; | |
constructor(private payload: any) {} | |
} | |
export class RemoveTodo { | |
readonly type = REMOVE_TODO; |
This file contains 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
import { createFeatureSelector } from '@ngrx/store'; | |
import * as auth from './reducers/auth.reducers'; | |
export interface AppState { | |
authState: auth.State; | |
} | |
export const reducers = { |
This file contains 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
import { $on } from './util'; | |
import View from './view'; | |
import Model from './model'; | |
import Controller from './controller'; | |
class App { | |
constructor() { | |
const model = new Model(); | |
const view = new View(); |
This file contains 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
<template> | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="card card-default"> | |
<div class="card-header">Dashboard Component</div> | |
<div class="card-body"> | |
{{ data }} | |
</div> |
This file contains 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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = CRLF | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 2 |
This file contains 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
<?php | |
namespace App; | |
class Comment extends Model | |
{ | |
public function post() | |
{ | |
return $this->belongsTo(Post::class); | |
} |
NewerOlder