Skip to content

Commit

Permalink
New: Master CSS ESLint Plugin Config
Browse files Browse the repository at this point in the history
  • Loading branch information
0Miles committed Oct 6, 2023
1 parent feb990b commit 91bce44
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
},
"dependencies": {
"@master/normal.css": "workspace:^",
"@master/eslint-plugin-config": "workspace:^",
"@techor/fs": "^2.5.4",
"@techor/log": "^2.5.4",
"commander": "^11.0.0"
Expand Down
11 changes: 11 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
plugins: ['@master/css'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
rules: {
'@master/css/classnames-order': 'warn'
}
}
31 changes: 31 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "@master/eslint-config-css",
"scripts": {
"test": "mocha tests --recursive"
},
"keywords": [
"mastercss",
"eslint",
"eslintconfig"
],
"license": "MIT",
"description": "Master CSS ESLint Plugin Config",
"author": "Aoyue Design LLC.",
"funding": "https://docs.master.co/css/donate",
"homepage": "https://css.master.co",
"bugs": {
"url": "https://github.com/master-co/css/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/master-co/css.git",
"directory": "packages/eslint-config"
},
"main": "index.js",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"eslint": "^7.1.0"
}
}

0 comments on commit 91bce44

Please sign in to comment.