Skip to content

Commit

Permalink
Initial skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
alexilyaev committed Jun 11, 2017
1 parent 8098339 commit 1fb6d3c
Show file tree
Hide file tree
Showing 7 changed files with 605 additions and 47 deletions.
10 changes: 10 additions & 0 deletions .babelrc
@@ -0,0 +1,10 @@
{
"presets": [
["es2015", { "modules": false }],
"react"
],
"plugins": [
"react-hot-loader/babel",
"transform-runtime"
]
}
13 changes: 13 additions & 0 deletions .editorconfig
@@ -0,0 +1,13 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
21 changes: 21 additions & 0 deletions .gitattributes
@@ -0,0 +1,21 @@
# Based on:
# https://github.com/h5bp/html5-boilerplate/blob/master/.gitattributes
# http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/

# Auto detect text files and perform LF normalization
* text=auto

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.xml text eol=lf
*.map text eol=lf
74 changes: 27 additions & 47 deletions .gitignore
@@ -1,59 +1,39 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output
# Rules Reference
# http://philhosoft.github.io/Software/Git-gitignore-rules/

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Temp files
tmp/**
.tmp/**

# Bower dependency directory (https://bower.io/)
bower_components
# Sass
.sass-cache

# node-waf configuration
.lock-wscript
# Logs
logs
*.log

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache
# Dependency directory
/node_modules

# Optional REPL history
.node_repl_history
# OS generated files
.DS_STORE

# Output of 'npm pack'
*.tgz
# Thumbnails
._*
Thumbs.db

# Yarn Integrity file
.yarn-integrity
# Editors stuff
.idea
.project
.vscode

# dotenv environment variables file
.env
# Build stuff
/dist
/app/dist

# Testing
/coverage
/.test
1 change: 1 addition & 0 deletions .npmrc
@@ -0,0 +1 @@
save-exact = true
35 changes: 35 additions & 0 deletions package.json
@@ -0,0 +1,35 @@
{
"name": "stylelint-find-rules",
"version": "0.0.0",
"description": "Find Stylelint rules that you don't have in your config",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"format-prettier": "prettier --print-width 100 --single-quote --write \"*.js\"",
"lint-prettier": "prettier -l --print-width 100 --single-quote \"*.js\"",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"format-prettier",
"git add"
]
},
"dependencies": {},
"devDependencies": {
"husky": "^0.13.4",
"lint-staged": "^3.6.1",
"prettier": "1.4.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alexilyaev/stylelint-find-rules.git"
},
"keywords": [],
"author": "Alex Ilyaev",
"license": "MIT",
"bugs": {
"url": "https://github.com/alexilyaev/stylelint-find-rules/issues"
},
"homepage": "https://github.com/alexilyaev/stylelint-find-rules#readme"
}

0 comments on commit 1fb6d3c

Please sign in to comment.