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: {
|
||||
docs: {
|
||||
description: "Disallow string className alongwith styleName in the same JSX tag",
|
||||
category: "Fill me in",
|
||||
recommended: false
|
||||
recommended: true
|
||||
},
|
||||
fixable: null, // or "code" or "whitespace"
|
||||
schema: [
|
||||
|
||||
+11
-2
@@ -1,17 +1,25 @@
|
||||
{
|
||||
"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",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
"eslintplugin",
|
||||
"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",
|
||||
"scripts": {
|
||||
"test": "mocha tests --recursive"
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"requireindex": "~1.1.0"
|
||||
},
|
||||
@@ -19,6 +27,7 @@
|
||||
"eslint": "~3.9.1",
|
||||
"mocha": "^3.1.2"
|
||||
},
|
||||
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user