Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 7310478

Browse files
committed
babel/eslint/tape boilerplate
0 parents  commit 7310478

File tree

13 files changed

+230
-0
lines changed

13 files changed

+230
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"stage": 0
3+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.gitignore

.eslintrc

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
root: true
3+
extends: eslint:recommended
4+
5+
# babel-eslint support more syntax stuff than eslint for now
6+
parser: babel-eslint
7+
8+
ecmaFeatures:
9+
modules: true
10+
11+
env:
12+
es6: true
13+
browser: true
14+
node: true
15+
16+
# 0: off, 1: warning, 2: error
17+
rules:
18+
no-console: 0
19+
20+
indent: [2, 2] # 2 spaces indentation
21+
max-len: [2, 80, 4]
22+
quotes: [2, "double"]
23+
semi: [2, "never"]
24+
no-multiple-empty-lines: [2, {"max": 1}]
25+
26+
brace-style: [2, "stroustrup"]
27+
comma-dangle: [2, "always-multiline"]
28+
comma-style: [2, "last"]
29+
dot-location: [2, "property"]
30+
31+
one-var: [2, "never"]
32+
no-var: [2]
33+
prefer-const: [2]
34+
no-bitwise: [2]
35+
36+
object-curly-spacing: [2, "always"]
37+
array-bracket-spacing: [2, "always"]
38+
#computed-property-spacing: [2, "always"]
39+
40+
space-unary-ops: [2, {"words": true, "nonwords": false}]
41+
space-after-keywords: [2, "always"]
42+
space-before-blocks: [2, "always"]
43+
space-before-function-paren: [2, "never"]
44+
space-in-parens: [2, "never"]
45+
spaced-comment: [2, "always"]

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
lib

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- 0.12
4+
- iojs
5+
- 4

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# 2.0.0 - Unreleased
2+
3+
- Added: support for PostCSS v5.x
4+
- Removed: support for PostCSS v4.x
5+
---
6+
7+
For pre 2.0.0 information, please visit [cssnext CHANGELOG](https://github.com/cssnext/cssnext/blob/master/CHANGELOG.md)

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Maxime Thirouin
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# postcss-cssnext
2+
3+
[![NPM version](http://img.shields.io/npm/v/postcss-cssnext.svg?style=flat)](https://www.npmjs.org/package/postcss-cssnext)
4+
[![Travis Build Status](https://img.shields.io/travis/cssnext/postcss-cssnext.svg?label=unix%20build)](https://travis-ci.org/cssnext/postcss-cssnext)
5+
[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/MoOx/postcss-cssnext.svg?label=windows%20build)](https://ci.appveyor.com/project/MoOx/postcss-cssnext)
6+
[![Join the chat at https://gitter.im/cssnext/cssnext](https://img.shields.io/badge/gitter%20-join%20chat%20%E2%9E%9E-1dce73.svg)](https://gitter.im/cssnext/cssnext)
7+
8+
9+
> Use tomorrow's CSS syntax, today.
10+
11+
cssnext is a CSS transpiler that allows you to use the latest CSS syntax today.
12+
It transforms CSS specs into more compatible CSS so you don’t need to wait for browser support.
13+
14+
**This repository contains the PostCSS plugin.**
15+
16+
---
17+
18+
## Check out [cssnext website](http://cssnext.io/)
19+
20+
- [Features](http://cssnext.io/features/)
21+
- [Setup](http://cssnext.io/setup/)
22+
- [Usage](http://cssnext.io/usage/)
23+
- [Playground](http://cssnext.io/playground/)
24+
25+
For questions and support please visit the
26+
[gitter room](https://gitter.im/cssnext/cssnext).
27+
28+
---
29+
30+
_The [issue tracker](https://github.com/cssnext/cssnext/issues) is exclusively for bug reports and feature requests._
31+
32+
---
33+
34+
## [Changelog](CHANGELOG.md)
35+
36+
## [License](LICENSE)

appveyor.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# http://www.appveyor.com/docs/appveyor-yml
2+
3+
environment:
4+
matrix:
5+
- nodejs_version: 0.12
6+
- nodejs_version: 3
7+
8+
version: "{build}"
9+
build: off
10+
deploy: off
11+
12+
install:
13+
- ps: Install-Product node $env:nodejs_version
14+
- npm install
15+
16+
test_script:
17+
- node --version
18+
- npm --version
19+
- ps: "npm test # PowerShell"
20+
- cmd: "npm test"

0 commit comments

Comments
 (0)