Redefine system of the code linter

This commit is contained in:
CJ Patoilo 2020-05-15 01:18:35 -03:00
parent 0d1c91ef57
commit 831481f1c8
6 changed files with 24 additions and 24 deletions

View File

@ -1,8 +0,0 @@
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = null
root = true
trim_trailing_whitespace = true

View File

@ -1,3 +0,0 @@
{
"extends": "styled"
}

2
.prettierignore Normal file
View File

@ -0,0 +1,2 @@
dist
.nyc_output

View File

@ -29,10 +29,10 @@
],
"ignore": [
".appveyor.yml",
".editorconfig",
".eslintrc",
".github",
".gitignore",
".gitpod.yml",
".prettierignore",
".sasslintrc",
".travis.yml",
"backstop.config.js",

View File

@ -29,10 +29,10 @@
],
"ignore": [
".appveyor.yml",
".editorconfig",
".eslintrc",
".github",
".gitignore",
".gitpod.yml",
".prettierignore",
".sasslintrc",
".travis.yml",
"backstop.config.js",

View File

@ -29,10 +29,10 @@
],
"ignore": [
".appveyor.yml",
".editorconfig",
".eslintrc",
".github",
".gitignore",
".gitpod.yml",
".prettierignore",
".sasslintrc",
".travis.yml",
"backstop.config.js",
@ -53,14 +53,14 @@
"backstopjs": "^3.8.9",
"banner-cli": "^0.14.0",
"browser-sync": "^2.18.5",
"eslint": "^6.0.1",
"eslint-config-styled": "0.0.2",
"husky": "^3.0.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"onchange": "^6.0.0",
"postcss-cli": "^6.1.3",
"prettier-standard": "^16.3.0",
"rimraf": "^2.5.4",
"sass-lint": "^1.12.1"
},
@ -80,12 +80,21 @@
"backstop": "run-s build && run-s serve compare",
"reference": "backstop reference --config backstop.config.js",
"compare": "backstop test --config backstop.config.js",
"lint": "sass-lint -c .sasslintrc src --verbose --no-exit && eslint . --ignore-path .gitignore package.js",
"ava": "nyc ava",
"precommit": "run-p test",
"lint": "prettier-standard --check && sass-lint -c .sasslintrc src --verbose --no-exit",
"prepublish": "run-s build",
"postpublish": "run-s clean",
"test": "run-s build lint ava"
"test": "npm run build && nyc ava"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": [
"prettier-standard --format",
"git add"
]
},
"resolutions": {
"natives": "1.1.3"