Browse Source
* Move npm/linting config files to root directory * Apply prettier/eslint autofixes * Update CONTRIBUTING.mdpull/277/head
Josh Dick
3 years ago
committed by
GitHub
15 changed files with 4896 additions and 2472 deletions
@ -0,0 +1,10 @@ |
|||
{ |
|||
"env": { |
|||
"es6": true, |
|||
"node": true |
|||
}, |
|||
"extends": "eslint:recommended", |
|||
"rules": { |
|||
"no-console": ["off"] |
|||
} |
|||
} |
@ -1 +1 @@ |
|||
build/node_modules |
|||
node_modules |
|||
|
@ -1,2 +1 @@ |
|||
cd build |
|||
npm test |
@ -0,0 +1,6 @@ |
|||
{ |
|||
"arrowParens": "avoid", |
|||
"printWidth": 120, |
|||
"singleQuote": true, |
|||
"trailingComma": "none" |
|||
} |
@ -1,28 +0,0 @@ |
|||
{ |
|||
"env": { |
|||
"es6": true, |
|||
"node": true |
|||
}, |
|||
"extends": "eslint:recommended", |
|||
"rules": { |
|||
"no-console": [ |
|||
"off" |
|||
], |
|||
"indent": [ |
|||
"error", |
|||
"tab" |
|||
], |
|||
"linebreak-style": [ |
|||
"error", |
|||
"unix" |
|||
], |
|||
"quotes": [ |
|||
"error", |
|||
"single" |
|||
], |
|||
"semi": [ |
|||
"error", |
|||
"never" |
|||
] |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,28 +0,0 @@ |
|||
{ |
|||
"name": "onedark.vim-builder", |
|||
"version": "1.0.0", |
|||
"description": "Builds the onedark.vim Vim colorscheme and associated files", |
|||
"main": "build.js", |
|||
"scripts": { |
|||
"build": "node build.js", |
|||
"test": "eslint build.js && node build.js check", |
|||
"prepare": "cd .. && husky install build/.husky" |
|||
}, |
|||
"author": { |
|||
"name": "Josh Dick", |
|||
"email": "josh@joshdick.net", |
|||
"url": "http://joshdick.net" |
|||
}, |
|||
"license": "MIT", |
|||
"repository": { |
|||
"type": "git", |
|||
"url": "https://github.com/joshdick/onedark.vim.git" |
|||
}, |
|||
"devDependencies": { |
|||
"eslint": "^7.29.0", |
|||
"husky": "^6.0.0" |
|||
}, |
|||
"dependencies": { |
|||
"termcolors": "0.7.3" |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,45 @@ |
|||
{ |
|||
"name": "onedark.vim-builder", |
|||
"version": "1.0.0", |
|||
"description": "Builds the onedark.vim Vim colorscheme and associated files", |
|||
"main": "build.js", |
|||
"scripts": { |
|||
"build": "node build/build.js", |
|||
"test": "npm run lint && node build/build.js check", |
|||
"prepare": "husky install", |
|||
"lint": "run-p eslint:check prettier:check", |
|||
"lint:fix": "run-s eslint:fix prettier:fix", |
|||
"eslint:check": "eslint '**/*.js'", |
|||
"eslint:fix": "eslint --fix '**/*.js'", |
|||
"prettier:check": "prettier --check '**/*.{js,json,md}'", |
|||
"prettier:fix": "prettier --write '**/*.{js,json,md}'" |
|||
}, |
|||
"author": { |
|||
"name": "Josh Dick", |
|||
"email": "josh@joshdick.net", |
|||
"url": "http://joshdick.net" |
|||
}, |
|||
"license": "MIT", |
|||
"repository": { |
|||
"type": "git", |
|||
"url": "https://github.com/joshdick/onedark.vim.git" |
|||
}, |
|||
"devDependencies": { |
|||
"eslint": "^7.30.0", |
|||
"husky": "^6.0.0", |
|||
"lint-staged": "^11.0.0", |
|||
"npm-run-all": "^4.1.5", |
|||
"prettier": "^2.3.2" |
|||
}, |
|||
"dependencies": { |
|||
"termcolors": "0.7.3" |
|||
}, |
|||
"lint-staged": { |
|||
"*.{js,json,md}": [ |
|||
"prettier --check" |
|||
], |
|||
"*.{js}": [ |
|||
"eslint" |
|||
] |
|||
} |
|||
} |
Loading…
Reference in new issue