mirror of
https://github.com/bendtherules/eslint-plugin-no-classname-with-stylename.git
synced 2026-08-18 13:53:24 +00:00
Add meta data and CI configs
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
|||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
language: node_js
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- "node"
|
||||||
|
- "lts/*"
|
||||||
|
- "7"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- "node_modules"
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Test against the latest version of this Node.js version
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- nodejs_version: "6"
|
||||||
|
- nodejs_version: "8"
|
||||||
|
- nodejs_version: "10"
|
||||||
|
|
||||||
|
# Install scripts. (runs after repo cloning)
|
||||||
|
install:
|
||||||
|
# Get the latest stable version of Node.js or io.js
|
||||||
|
- ps: Install-Product node $env:nodejs_version
|
||||||
|
# install modules
|
||||||
|
- npm install
|
||||||
|
|
||||||
|
# Post-install test scripts.
|
||||||
|
test_script:
|
||||||
|
# Output useful info for debugging.
|
||||||
|
- node --version
|
||||||
|
- npm --version
|
||||||
|
# run tests
|
||||||
|
- npm test
|
||||||
|
|
||||||
|
# Don't actually build.
|
||||||
|
build: off
|
||||||
@@ -14,8 +14,7 @@ module.exports = {
|
|||||||
meta: {
|
meta: {
|
||||||
docs: {
|
docs: {
|
||||||
description: "Disallow string className alongwith styleName in the same JSX tag",
|
description: "Disallow string className alongwith styleName in the same JSX tag",
|
||||||
category: "Fill me in",
|
recommended: true
|
||||||
recommended: false
|
|
||||||
},
|
},
|
||||||
fixable: null, // or "code" or "whitespace"
|
fixable: null, // or "code" or "whitespace"
|
||||||
schema: [
|
schema: [
|
||||||
|
|||||||
+11
-2
@@ -1,17 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": "eslint-plugin-no-classname-with-stylename",
|
"name": "eslint-plugin-no-classname-with-stylename",
|
||||||
"version": "0.0.0",
|
"version": "0.0.1",
|
||||||
"description": "While using CSS Modules, disallow using (non-conditional / string) classNames in a JSX tag if it already has a styleName",
|
"description": "While using CSS Modules, disallow using (non-conditional / string) classNames in a JSX tag if it already has a styleName",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"eslint",
|
"eslint",
|
||||||
"eslintplugin",
|
"eslintplugin",
|
||||||
"eslint-plugin"
|
"eslint-plugin"
|
||||||
],
|
],
|
||||||
"author": "Abhas Bhattacharya",
|
|
||||||
|
"author": "Abhas Bhattacharya <abhasbhattacharya2@gmail.com>",
|
||||||
|
"homepage": "https://github.com/bendtherules/eslint-plugin-no-classname-with-stylename",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git://github.com/bendtherules/eslint-plugin-no-classname-with-stylename.git"
|
||||||
|
},
|
||||||
|
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha tests --recursive"
|
"test": "mocha tests --recursive"
|
||||||
},
|
},
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"requireindex": "~1.1.0"
|
"requireindex": "~1.1.0"
|
||||||
},
|
},
|
||||||
@@ -19,6 +27,7 @@
|
|||||||
"eslint": "~3.9.1",
|
"eslint": "~3.9.1",
|
||||||
"mocha": "^3.1.2"
|
"mocha": "^3.1.2"
|
||||||
},
|
},
|
||||||
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user