Skip to content

WilliamsNY/linter-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linter Configs

Linters @ Williams New York

SCSS

Packages

Install

npm install -g stylelint postcss stylelint-config-recommended-scss stylelint-order @stylistic/stylelint-plugin

Config

Repo: stylelintrc System: ~/.stylelintrc

Install

ln -s "$(readlink -f stylelintrc)" ~/.stylelintrc

Javascript

Packages

Install

Add this to your ~/.bashrc:

export npm_config_prefix="$HOME/.node"
export NODE_PATH="$HOME/.node/lib/node_modules"
export ESLINT_USE_FLAT_CONFIG=false

function eslint {
  npx eslint --config ~/.eslintrc --resolve-plugins-relative-to ~/.node/lib "$@" 2>/dev/null
}

Then install with:

npm install -g eslint @babel/eslint-parser @babel/preset-env eslint-plugin-vue

Config

Repo: eslintrc System: ~/.eslintrc

Install

ln -s "$(readlink -f eslintrc)" ~/.eslintrc

About

Configurations for linters used at WNY

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published