eslint-config-cmyr

v1.1.25
草梅友仁个人使用的 eslint 检测规范
code style lint eslint code style

lint

cross-env NODE_ENV=production eslint *.js --fix --ext .js

test

npm run test:js && npm run test:ts && npm run test:browser && npm run test:vue && npm run test:vue3 && npm run test:react

release

semantic-release

test:js

cross-env NODE_ENV=production eslint -c js.js test/js.test.js

test:ts

cross-env NODE_ENV=production eslint -c index.js test/ts.test.ts

test:vue

cross-env NODE_ENV=production eslint -c vue.js test/VueTest.vue

test:vue3

cross-env NODE_ENV=production eslint -c vue3.js test/Vue3Test.vue

test:react

cross-env NODE_ENV=production eslint -c react.js test/react.test.jsx

deploy-beta

nrm use npm && npm publish --tag beta

test:browser

cross-env NODE_ENV=production eslint -c js.js test/browser.test.js

Metadata

  • MIT
  • >=12
  • CaoMeiYouRen
  • released 3/23/2023

Downloads

Maintainers