Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
playground/node_modules
playground/jspm_packages
playground/build.js
24 changes: 24 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"env": {
"es6": true,
"node": true,
"browser": true,
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
},
"globals": {
"SystemJS": true,
},
"extends": "eslint:recommended",
"plugins": [
"react"
],
"rules": {

}
}
2 changes: 1 addition & 1 deletion lib/generate-scope-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var generateScopeList = function(node, /*optional*/includeSelf) {

// If it is a at-rule, then we need to construct the proper piece
if(currentNodeParent.type === 'atrule') {
scopePieces = [].concat(currentNodeParent.params).map(function(param, index) {
scopePieces = [].concat(currentNodeParent.params).map(function(param) {
return {
value: '@' + currentNodeParent.name + ' ' + param,
type: 'atrule'
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@
"chai": "^4.1.1",
"chai-as-promised": "^7.1.1",
"clean-css": "^4.1.7",
"eslint": "^4.4.1",
"eslint-plugin-react": "^7.1.0",
"gulp": "^3.8.11",
"gulp-eslint": "^4.0.0",
"gulp-mocha": "^4.3.1",
"mocha": "^3.5.0"
},
"scripts": {
"test": "gulp"
"test": "gulp",
"lint": "eslint ."
}
}
3 changes: 3 additions & 0 deletions playground/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
jspm_packages
build.js
3 changes: 0 additions & 3 deletions playground/.jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions playground/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
6 changes: 0 additions & 6 deletions playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ The code playground for `postcss-css-variables` is [available live here](https:/

# Build

## Prerequisites

- [io.js](https://iojs.org/en/index.html) *or Node.js with support for template strings (not currently available)*

## Instructions:

Run once to set everything up:

`npm install`
Expand Down
Loading