Skip to content
Snippets Groups Projects
Commit edf37d76 authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Unused files

parent 37f0f396
Branches
Tags
No related merge requests found
---
engines:
brakeman:
enabled: true
bundler-audit:
enabled: true
csslint:
enabled: true
coffeelint:
enabled: true
duplication:
enabled: true
config:
languages:
ruby:
mass_threshold: 70
javascript:
mass_threshold: 70
eslint:
enabled: true
fixme:
enabled: true
rubocop:
enabled: true
ratings:
paths:
- Gemfile.lock
- "**.erb"
- "**.haml"
- "**.rb"
- "**.rhtml"
- "**.slim"
- "**.css"
- "**.coffee"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
exclude_paths:
- config/
- db/
- test/
- vendor/
- doc/
--exclude-exts=.min.css
--ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes
This diff is collapsed.
{
"arrow_spacing": {
"level": "ignore"
},
"braces_spacing": {
"level": "ignore",
"spaces": 0,
"empty_object_spaces": 0
},
"camel_case_classes": {
"level": "error"
},
"coffeescript_error": {
"level": "error"
},
"colon_assignment_spacing": {
"level": "ignore",
"spacing": {
"left": 0,
"right": 0
}
},
"cyclomatic_complexity": {
"value": 10,
"level": "ignore"
},
"duplicate_key": {
"level": "error"
},
"empty_constructor_needs_parens": {
"level": "ignore"
},
"ensure_comprehensions": {
"level": "warn"
},
"eol_last": {
"level": "ignore"
},
"indentation": {
"value": 2,
"level": "error"
},
"line_endings": {
"level": "ignore",
"value": "unix"
},
"max_line_length": {
"value": 80,
"level": "error",
"limitComments": true
},
"missing_fat_arrows": {
"level": "ignore",
"is_strict": false
},
"newlines_after_classes": {
"value": 3,
"level": "ignore"
},
"no_backticks": {
"level": "error"
},
"no_debugger": {
"level": "warn",
"console": false
},
"no_empty_functions": {
"level": "ignore"
},
"no_empty_param_list": {
"level": "ignore"
},
"no_implicit_braces": {
"level": "ignore",
"strict": true
},
"no_implicit_parens": {
"strict": true,
"level": "ignore"
},
"no_interpolation_in_single_quotes": {
"level": "ignore"
},
"no_plusplus": {
"level": "ignore"
},
"no_stand_alone_at": {
"level": "ignore"
},
"no_tabs": {
"level": "error"
},
"no_this": {
"level": "ignore"
},
"no_throwing_strings": {
"level": "error"
},
"no_trailing_semicolons": {
"level": "error"
},
"no_trailing_whitespace": {
"level": "error",
"allowed_in_comments": false,
"allowed_in_empty_lines": true
},
"no_unnecessary_double_quotes": {
"level": "ignore"
},
"no_unnecessary_fat_arrows": {
"level": "warn"
},
"non_empty_constructor_needs_parens": {
"level": "ignore"
},
"prefer_english_operator": {
"level": "ignore",
"doubleNotLevel": "ignore"
},
"space_operators": {
"level": "ignore"
},
"spacing_after_comma": {
"level": "ignore"
},
"transform_messes_up_line_numbers": {
"level": "warn"
}
}
...@@ -64,7 +64,6 @@ Rails.application.routes.draw do ...@@ -64,7 +64,6 @@ Rails.application.routes.draw do
get 'questions/lottery', to: 'questions#lottery', as: :questions_lottery get 'questions/lottery', to: 'questions#lottery', as: :questions_lottery
get 'questions/feed', to: 'questions#feed', as: :question_feed get 'questions/feed', to: 'questions#feed', as: :question_feed
get 'questions/:id', to: 'posts#redirect', as: :question
scope 'posts' do scope 'posts' do
get 'new/:post_type', to: 'posts#new', as: :new_post get 'new/:post_type', to: 'posts#new', as: :new_post
...@@ -157,10 +156,6 @@ Rails.application.routes.draw do ...@@ -157,10 +156,6 @@ Rails.application.routes.draw do
delete 'comments/:id/delete', to: 'comments#destroy', as: :delete_comment delete 'comments/:id/delete', to: 'comments#destroy', as: :delete_comment
patch 'comments/:id/delete', to: 'comments#undelete', as: :undelete_comment patch 'comments/:id/delete', to: 'comments#undelete', as: :undelete_comment
get 'q/:id', to: 'posts#share_q', as: :share_question
get 'a/:qid/:id', to: 'posts#share_a', as: :share_answer
get 'ar/:id', to: 'articles#share', as: :share_article
get 'subscriptions/new/:type', to: 'subscriptions#new', as: :new_subscription get 'subscriptions/new/:type', to: 'subscriptions#new', as: :new_subscription
post 'subscriptions/new', to: 'subscriptions#create', as: :create_subscription post 'subscriptions/new', to: 'subscriptions#create', as: :create_subscription
get 'subscriptions', to: 'subscriptions#index', as: :subscriptions get 'subscriptions', to: 'subscriptions#index', as: :subscriptions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment